It will parse the XML Configuration, storing the details in various AttributesDetails implementation instances, and construct a number of wrappered AttributesComposites, one per section.
The page's tab text will be set using the proxy element name. This will be updated each time the proxy element's name changes. Note that the text will be obtained from a resource bundle and should contain values for 'undefined' and null.
Note that special handling is required for the nextLinkText and previousLinkText attributes. When used in a DissectingPane these may only contain literal text, while within a Fragment they may contain literal text or component references. Essentially, when a dissecting pane is selected the controls representing these values must be told to disable the component reference function. In all other cases, the controls must be told that they can enable the component reference function. This handling must be performed in an ODOMElementSelectionListener that looks for dissecting pane selections.
The wrappered page will register a property change listener on each AttributesComposite, and will use the property change events to update the proxy element's attributes.
This page will also set up an ODOM change listener and will use the ODOM change events to drive value updates down into the attributes composites' controls. Each change will have to be passed to all (wrappered) attributes composites - only the attributes composite containing a control for the given attribute will actually do anything. Attribute update events should be sent to the wrapping composites which will delegate to the contained attribute composite.
These updates include changing control visibility based on the creation and destruction of attributes on the proxy element.
Both these listeners need to be disposed in the dispose method.
|
|