Java Reference
In-Depth Information
DragDropListenerProvider"
id="myExplorerDragDropListenerProvider">
<Priority name="Lowest"/>
<ViewId id="org.eclipse.test.project.ui.views.MyExplorer">
<ElementType
class="org.eclipse.test.project.ui.internal.
providers.myexplorer.MyElement">
<OperationType operation="drag">
<TransferId transferId="selection"/>
<TransferId transferId="customData"/>
<TransferId transferId="file"/>
<TransferId transferId="text"/>
<TransferId transferId="richText"/>
</OperationType>
<OperationType operation="drop"/>
<TransferId transferId="selection"/>
<TransferId transferId="customData"/>
</OperationType>
</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.IDragDropListenerProvider
(such as a subclass of
org.eclipse.
gmf.runtime.common.ui.services.dnd.core. AbstractDragDrop
ListenerProvider
).
Notes:
Diagrams generated using the GMF tooling do not currently use this
extension-point.
10.4.19 TransferAdapterService
The
TransferAdapterService
and corresponding
ITransferAdapter
|Provider
interface allow providers to supply transfer adapters for a specified
transfer ID during drag-and-drop operations. An
AbstractTransfer
AdapterProvider
is supplied, along with a concrete
TransferAdapter
Provider
class, as seen in Figure 10-43. Providers work with
ITransfer
DropTargetListener
and
ITransferDragSourceListener
implemen-
tations.
Search WWH ::
Custom Search