Java Reference
In-Depth Information
</ElementType>
</ViewId>
</DragDropListenerProvider>
</extension>
API information:
The value of the class attribute must represent a subclass of org.eclipse.
gmf.runtime.common.core.service.AbstractProvider that implements
org.eclipse.gmf.runtime.common.ui.services.dnd.core.ITransfer
AdapterProvider (such as a subclass of org.eclipse.gmf.runtime.
common.ui.services.dnd.core.AbstractTransferAdapterProvider ).
Notes:
Diagrams generated using the GMF tooling do not currently use this
extension-point.
10.4.20 DiagramEvenBroker Service
As pointed out in its corresponding extension-point schema documentation, this
is an advanced feature of the runtime; only those who understand its potential
effects should use it. The DiagramEventBrokerService and corresponding
provider allow for the contribution of an event broker for diagrams that replaces
the default, provided by the class DiagramEventBroker . As shown in Figure
10-44, the functionality that the DiagramEventBroker provides is central to
the operation of the event model of the diagram within its editing domain, hence
the reason for the previous warning.
DiagramEventBrokerProvider Extension-Point
Identifier: org.eclipse.gmf.runtime.diagram.core.
diagramEventBrokerProviders
Description: This extension-point is intended to be used only by GMF run-
time experts because changing the diagram event broker could have severe impli-
cations on diagrams that share the same editing domain.
Configuration markup:
<!ELEMENT diagramEventBrokerProvider ( Priority , editingDomain +)>
<!ATTLIST diagramEventBrokerProvider
class CDATA #REQUIRED>
Search WWH ::




Custom Search