Java Reference
In-Depth Information
class
—Fully qualified String containing the provider class.
Examples:
The following is an example
PropertiesModifier
extension:
<extension
point="org.eclipse.gmf.runtime.common.ui.services.properties.
propertyModifiers">
<PropertyModifier class="org.eclipse.test.project.ui.
properties.providers.
ReadOnlyDiagramPropertiesModifier">
<Priority name="Highest"/>
<Provider class="*"/>
</PropertyModifier>
</extension>
API information:
The value of the class attribute must represent a class that implements
org.eclipse.gmf.runtime.common.ui.services.properties.IProp-
ertiesModifier
.
Notes:
Diagrams generated using the GMF tooling do not currently use this
extension-point.
10.4.18 DragDropListenerService
The
DragDropListenerService
works with the
IDragDropListener
Provider
to provide
IDragSourceListener
and
IDropTargetListener
functionality for a specified context. The runtime supplies an
AbstractDrag
DropListenerProvider
, leaving the methods
getDragSourceListener()
and
getDropTargetListener()
for implementation, as seen in Figure 10-42.
By default, the
provides()
method is handled by the
ProviderDescriptor
inner class of
DragDropListenerService
, which extends
Service.
ProviderDescriptor
. The configuration is loaded from the extension-point
contribution for the provider, as discussed next.
DragDropListenerProvider Extension-Point
Identifier:
org.eclipse.gmf.runtime.common.ui.services.dnd.
dragDropListenerProviders
Search WWH ::
Custom Search