Java Reference
In-Depth Information
Configuration markup:
<!ELEMENT extension (viewProvider+)>
<!ELEMENT viewProvider (Priority , object* , context*)>
<!ATTLIST viewProvider
class CDATA #REQUIRED>
This element describes a viewProvider . A provider's description outlines
zero or more objects to be referenced by the provider's contexts, and then lists
zero or more contexts that the provider supports.
class —The fully qualified name of the viewProvider class, which
must implement org.eclipse.gmf.runtime.diagram.core.providers.
IViewProvider . Typically, a subclass of AbstractViewProvider is specified.
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
This element defines the priority of the viewProvider .
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.
<!ELEMENT object (method* , staticMethod*)>
<!ATTLIST object
id CDATA #REQUIRED
class CDATA #IMPLIED>
This element describes an object that is examined by this provider. 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)>?.
<!ELEMENT context EMPTY>
<!ATTLIST context
viewClass (org.eclipse.gmf.runtime.notation.Node |
org.eclipse.gmf.runtime.notation.Diagram |
org.eclipse.gmf.runtime.notation.Edge)
Search WWH ::




Custom Search