Java Reference
In-Depth Information
Each decoration can either be included in the printed output of the diagram
or not.
If more than one provider adds a decoration to the same location, the deco-
ration from the highest-priority provider appears on top of the other decora-
tion(s).
Configuration markup:
<!ELEMENT extension (decoratorProvider)>
<!ELEMENT decoratorProvider (Priority , object* , context*)>
<!ATTLIST decoratorProvider
class CDATA #REQUIRED>
class —The fully qualified name of the decorator provider class that should
implement the interface org.eclipse.gmf.runtime.diagram.ui.
services.decorator.IDecoratorProvider .
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
name —The priority of the provider. It can be one of the following values:
Lowest , Low , Medium , High , or Highest . Dependencies must be considered
when choosing the priority. A provider at a higher priority takes a chance first at
deciding provision.
If more than one provider adds a decoration to the same location, the deco-
ration(s) from the highest-priority provider appears on top of decoration(s) sup-
plied by lower-priority provider(s).
<!ELEMENT object (method* , staticMethod*)>
<!ATTLIST object
id CDATA #REQUIRED
class CDATA #IMPLIED>
This element specifies an object that this provider examines. The object can
have an optional set of methods to call upon.
id —A unique (within the context of this provider XML definition) identifier
for the object.
class —The fully qualified name of a class/interface that is assignable from
or adaptable to the object. The name can be followed (between parentheses) by
the ID of a plug-in whose classloader can load that class. The final syntax is
className<(plugin id)>?.
Search WWH ::




Custom Search