Java Reference
In-Depth Information
EditPolicyProvider Extension-Point
Identifier: org.eclipse.gmf.runtime.diagram.ui.editpolicy
Providers
Description: This extension-point defines EditPolicyProviders for the
EditPolicy service. The EditPolicyService allows plug-ins to modify or
enhance the behavior of an EditPart via an EditPolicy without modifying
the EditPolicy code.
Configuration markup:
<!ELEMENT extension (editpolicyProvider+)>
<!ELEMENT editpolicyProvider (Priority , object* , context*)>
<!ATTLIST editpolicyProvider
class CDATA #REQUIRED>
class —The fully qualified name of the EditPolicyProvide r class that
implements org.eclipse.gmf.runtime.diagram.ui.services.edit-
policy. IEditPolicyProvider .
<!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.
<!ELEMENT object (method* , staticMethod*)>
<!ATTLIST object
id CDATA #REQUIRED
class CDATA #IMPLIED>
This element defines a descriptor of 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