Changes between Version 4 and Version 5 of GROUP_ANNOTATIONS_R0
- Timestamp:
- 05/06/09 21:51:59 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_ANNOTATIONS_R0
v4 v5 43 43 44 44 == Implementation idea == 45 See the Design section. 45 * Create an abstract class BookExtra which extends Resource. 46 * Add abstract method which returns all PageElements that this extra provides for ''current'' page. 47 * Create two lists of BookExtras in BookWindow: 48 * all book extras that are open for viewing 49 * shown book extras - subset of the above. This list contains the extras that are actually displayed. 50 51 * Create an extension point in MainViewModule for PageElement view providers. 52 53 * Add a list of extra PageElements in PageWorkArea. 54 55 * Create a new module - org.sophie2.extra.annotations 46 56 47 57 == Related == … … 76 86 * Create a new module - org.sophie2.extra.annotations 77 87 * Create classes Sticky, Highlight and AudioAnnotation, which implement an interface AnnotationElement. 88 * Stickies have the following properties: 89 * text : String 90 * title : String 91 * page : Page 92 * date : Date - creation date and time 93 * color : ImmColor 94 * bounds : ImmRect (location and size; derived from PageElement) 95 * parent : AnnotationSet 78 96 * Create a class AnnotationSet, which extends BookExtra. 79 97 * Create instances of PageElementViewProvider for stickies and audio annotations. 80 98 * Create Scene views of stickies and audio annotations. 99 * Stickies should be rendered as yellow semi-transparent rectangles with title bar 81 100 * Create an Annotations tab in the right flap. 82 101 * Create an All Annotations palette. It should display a list of all annotation sets. User should be able to select current annotation set. 83 102 * Create a Stickies palette. Provide a button for creating a sticky. 84 * Create halo menu and remove button for stickies. 103 * Create halo menu and remove button for stickies. 104 * The location of this menu is the upper right corner of the sticky. 105 106 * [source:/trunk/sophie2-platform/modules/org.sophie2.extra.func.annotations/src/test/java/org/sophie2/extra/annotations/model/AnnotationSetTest.java] 85 107 86 108 = Implementation =