Changes between Version 7 and Version 8 of HOT_TEXT_REDESIGN_R2


Ignore:
Timestamp:
09/23/09 15:01:14 (16 years ago)
Author:
vlado
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HOT_TEXT_REDESIGN_R2

    v7 v8  
    102102    * It has two parameters - style attribute and value. 
    103103    * The event is handled the same way as other modifying operations on text - a new SET_TEXT event is fired to set the new text with applied style. 
     104  * Persistence 
     105   * ImmHotText should be persisted based on 
     106    * Its string representation (already present). 
     107    * Its style values. 
     108     * Should be persisted as mapping of pairs (HotAttr.id, style value set). 
     109     * The style value set should be persisted as mapping of pairs (HotPos, style value). 
     110   * HotPos should be persisted based only on its index. 
     111   * Save 
     112    * The history of text is not saved 
     113    * All HotPoses should be converted (new positions created) to belong to the saved ImmHotText (not some of its past or future relatives in the history). 
     114    * Create a method ImmHotText.getNormalizedStyleValues() for this purpose. 
     115   * Load 
     116    * Load the text itself 
     117    * Load the styles 
     118    * Convert styles to conform to the loaded text (HotPoses should be compared by the loaded text's comparator) 
     119    * Create a new factory method to create ImmHotText by its internals. 
     120  * Chaining is done in a separate task: [wiki:TEXT_CHAINING_BEHAVIOUR_R1] 
    104121  * Testing 
    105122   * Use SwingDemoTest and LineEndsDemoTest.