Changes between Version 5 and Version 6 of BASE_MODEL_PAGE_ELEMENTS_R0
- Timestamp:
- 01/08/09 18:35:23 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BASE_MODEL_PAGE_ELEMENTS_R0
v5 v6 39 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 40 * remove org.sophie2.base.model.book.Frame.borderColor() - it is in org.sophie2.base.model.book.Frame.border() 41 42 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() 43 42 * 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() 45 43 * move org.sophie2.base.model.book.Frame.borderInsets() into org.sophie2.base.model.book.Frame.border( 46 44 * 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 45 * Diagram 46 * Page 47 * Frame 48 * FrameContent 49 * Styles for background, border, etc. 48 50 * Future design ideas 49 * stickies 51 * stickies: 50 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. 51 53 - In both ways a page will have a list with frames that are not stickies and a list with stickies. 52 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 * connectors 55 * connectors: 54 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. 55 57 * Tests 58 * Run tests in [link:trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book] 56 59 = Implementation = 57 60 ^(Implementation results should be described and linked here (from the wiki or the repository))^