Changes between Version 12 and Version 13 of PAGE_ELEMENT_GROUPING_R0
- Timestamp:
- 05/21/09 10:13:54 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PAGE_ELEMENT_GROUPING_R0
v12 v13 78 78 * '''Note: Current design is done on behalf that we group Frames, but it can be changed quickly to support all kinds of page elements.''' 79 79 * For the grouping to behave properly we should define a tree of groups and elements. 80 * ''Define an interface ElementContainer with the following methods: 81 * Prop<? extends ??> parentContainer(), providing the parent container of this element. 82 * RwListProp<PageElement> elements(), all the elements that a class implementing should provide.'' 80 83 * Define an interface GroupContainer with the following methods: 81 84 * Prop<? extends GroupContainer> parentContainer(), providing the parent GroupContainer of the class implementing it. 82 85 * RwListProp<Group> containers(), all the containers that a class implementing should provide. 83 * Define a class Group which will handle grouping and ungrouping of frames. It will implement the GroupContainer .86 * Define a class Group which will handle grouping and ungrouping of frames. It will implement the GroupContainer'', ElementContainer and will extend Resource''. 84 87 * The Page would also implement the GroupContainer interface. 88 * ''The Frame will implement ElementContainer.'' 85 89 * The parentContainer of the Group will be a Page. This means that the Group whose parent container is a Page is a root group. It also provides a list of containers that are Groups. The Group class will also contain a list of frames that are grouped in this group. 86 90 * Page will not have a parentContainer. It will be initially set to null.