Changes between Version 8 and Version 9 of BASE_MODEL_PAGE_ELEMENTS_R0


Ignore:
Timestamp:
01/10/09 21:25:36 (16 years ago)
Author:
orliin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BASE_MODEL_PAGE_ELEMENTS_R0

    v8 v9  
    3939    * remove org.sophie2.base.model.book.Frame.getPageNumber() - it is not used anywhere and could be helpful only if it's used a lot. 
    4040    * remove org.sophie2.base.model.book.Frame.borderColor() - it is in org.sophie2.base.model.book.Frame.border() 
    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( 
    4441    * 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. 
     42    * move org.sophie2.base.model.book.Frame.borderInsets() into org.sophie2.base.model.book.Frame.border() 
     43    * rename org.sophie2.base.model.book.Frame.contentLocation() to org.sophie2.base.model.book.Frame.contentModeLocation() 
     44    * rename org.sophie2.base.model.book.Frame.contentSize() to org.sophie2.base.model.book.Frame.contentModeSize() 
     45    * rename org.sophie2.base.model.book.Frame.bounds() to org.sophie2.base.model.book.Frame.contentModeBounds() 
    4546 * Diagram 
    4647    * Page 
     
    5051 * Future design ideas 
    5152    * stickies: 
    52       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. 
    53          - In both ways a page will have a list with frames that are not stickies and a list with stickies. 
    54          - 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      Stickies will extend frames with the new ability to be glued to a frame. 
     54         - A page will have a list with frames that are not stickies and a list with stickies. 
     55         - There should be a property that points to the frame that the sticky is glued to. The StickyFrame position should have the ability to recalculate its position automatically if the frame it is glued to is moved. Stickies may probably not glued to a frame, just put on the page like ordinary frames. 
    5556    * connectors: 
    56       Only frames that have specific types of content connect to other frames. That's why a connector should be a property of a content that points to another frame (or content). Note that the sticky is again just property pointing to a frame (or content - the relation is 1 to 1, so it is up to the programmer) in a specific type of content, so designing stickies can be part of designing connectors. 
     57      Only frames that have specific types of content connect to other frames. That's why a connector should be a property of a content that points to another frame. 
    5758 * Tests 
    5859    - Run tests in [source:trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book] 
    5960= Implementation = 
    60  * Code refactored according to design. For properties moved from org.sophie2.base.model.book.Frame to org.sophie2.base.model.book.FrameContent get methods are added in org.sophie2.base.model.book.Frame: 
    61 Chagesets [changeset:1234] [changeset:1235] 
    62  * Class diagram of Page and its elements - Frames. 
    63 [[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/uml-Page-Frame-FrameContent.png)]] 
    64  * Future design ideas are described in the design and in the class diagram - StickyFrameContent and FrameContentConnector. 
    65  * After refactoring test are ok. 
     61 
    6662= Testing = 
    6763