Java Reference
In-Depth Information
Examples:
<extension
point="org.eclipse.gmf.runtime.diagram.core.
diagramEventBrokerProviders">
<diagramEventBrokerProvider
class="org.eclipse.pde.target.diagram.
MyDiagramEventBrokerProvider">
<Priority name="Highest"/>
<editingDomain
ID="org.eclipse.pde.target.diagram.EditingDomain">
</editingDomain>
</diagramEventBrokerProvider>
</extension>
Notes:
Diagrams generated using the GMF tooling do not currently use this
extension-point. Furthermore, this service doesn't appear to be usable.
10.5 Additional Extension-Points
In addition to the extension-points described so far that incorporate the service-
provider infrastructure, the GMF runtime provides a number of additional
extension-points that I define here.
10.5.1 ElementTypes
Identifier: org.eclipse.gmf.runtime.emf.type.core.
elementTypes
Description: The org.eclipse.gmf.runtime.emf.type.core.ele-
mentTypes extension-point defines application specializations of metamodel
types for the following purposes:
To extend (but not replace) the basic metamodel editing behavior for ele-
ments that match such specializations
To contribute icons and display names for such specializations
The elementType specializations can be used for menu or tool palette items
for element creation.
You can extend editing behavior by associating an editHelperAdvice to
a specialization or by contributing an adviceBinding that binds an edit
HelperAdvice to an elementType . Edit HelperAdvice is applied before
and/or after the behavior that the default metamodel editing behavior provides.
 
Search WWH ::




Custom Search