Java Reference
In-Depth Information
Table 11-11
Gen Navigator Child Reference Properties
Property
Description
Group Icon
A relative path to the icon used to represent the logical group, typically
displayed as a folder.
Group Name
The name given to a logical group. If this property is empty, child
elements are displayed directly below the parent element. Note that
each Gen Navigator Child Reference element has Parent and Child
properties.
Hide If Empty
A Boolean property to filter empty logical groups from the navigator.
Reference Type
A number of options exist for how the notation model tree is traversed:
children, out_target, in_source, and default.
11.4.9 Gen Diagram Updater
This element has properties to specify the names of the generated updater, com-
mands, and descriptors. A _ DiagramUpdater is generated and contains a
number of static methods that can list all semantic children of a diagram element,
in addition to diagram link information. The class is used by generated
_ CanonicalEditPolicy classes and the _ NewDiagramFileWizard (for non-
synchronized diagrams) for updating a diagram based on actual domain model
content. The updater is also a handy utility class that can be used in custom code
that needs to query model elements.
11.4.10 Property Sheet
GMF provides support for the enhanced tabbed properties view now available in
the platform. The Property Sheet element and its children define the default
properties sheet support, which is intended to be extended by the Toolsmith. One
approach to extending property sheet support is to use a decorator model and
custom templates, as shown in the gmfgraph editor itself.
The Package Name and Label Provider Class Name properties are
straightforward. Note that if the property Caption for the Sheet is false ,
no label provider is generated. By default, the caption shows the name of the
underlying domain element, if any.
The Read Only property is false by default but can be set to true if the
Toolsmith wants all properties to be displayed but not editable by the
Practitioner. Note that individual properties can be set to read-only by using the
domain generator model's Property Type property set to Readonly .
Search WWH ::




Custom Search