Changes between Version 3 and Version 4 of BASE_MODEL_PAGE_ELEMENTS_R0


Ignore:
Timestamp:
01/08/09 16:31:57 (16 years ago)
Author:
orliin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_MODEL_PAGE_ELEMENTS_R0

    v3 v4  
    3636 
    3737= Design = 
    38  * remove org.sophie2.base.model.book.Frame.getPageNumber() - it is not used anywhere and could be helpful only if it's used a lot. 
    39  * remove org.sophie2.base.model.book.Frame.borderColor() - it is in org.sophie2.base.model.book.Frame.border() 
     38 * Revising 
     39    * remove org.sophie2.base.model.book.Frame.getPageNumber() - it is not used anywhere and could be helpful only if it's used a lot. 
     40    * remove org.sophie2.base.model.book.Frame.borderColor() - it is in org.sophie2.base.model.book.Frame.border() 
    4041 
    41  * move org.sophie2.base.model.book.Frame.contentLocation() and org.sophie2.base.model.book.Frame.contentSize() into org.sophie2.base.model.book.Frame.content() 
    42  * if org.sophie2.base.model.book.Frame.bounds() is about content, alse move it into org.sophie2.base.model.book.Frame.content() 
    43  * move org.sophie2.base.model.book.Frame.borderInsets() into org.sophie2.base.model.book.Frame.border() 
     42    * move org.sophie2.base.model.book.Frame.contentLocation() and org.sophie2.base.model.book.Frame.contentSize() into org.sophie2.base.model.book.Frame.content() 
     43    * if org.sophie2.base.model.book.Frame.bounds() is about content, alse move it into org.sophie2.base.model.book.Frame.content() 
     44    * move org.sophie2.base.model.book.Frame.borderInsets() into org.sophie2.base.model.book.Frame.border() 
    4445 
    45  * org.sophie2.base.model.book.Frame.getResource() can be renamed or documented better to make it clear that it is only a "shortcut" to to something in the content. 
     46    * org.sophie2.base.model.book.Frame.getResource() can be renamed or documented better to make it clear that it is only a "shortcut" to something in the content. 
     47 
     48 * Future design ideas 
     49    * stickies 
     50      Stickies will either extend frames with the new ability to be glued to a frame or be just regular frames with a special type of content. 
     51         In both ways a page will have a list with frames that are not stickies and a list with stickies. 
     52         In both ways there should be a property that points to the frame that the sticky is glued to. Since a frame position is currently calculated from content position, it is reasonable to stick the content to the frame and recalculate content position when the frame is moved. 
     53    * connectors - only frames 
    4654 
    4755= Implementation =