Clients should only take note of this Service they are are using the
INavigatorContentService in the context of a viewer which is not or
does not extend
CommonViewer . Clients should take a look at the
initialization of the DND support in the
CommonViewer if they wish to
support this capability in their own viewers.
This interface is not intended to be implemented by clients.
Parameters: aDropTarget - The target element in the viewer of the drop operation. Parameters: theDragSelection - The drag selection of the current drop operation.
getCommonDragAssistants() As part of the org.eclipse.ui.navigator.viewer extension point,
clients may explicit extend the support Transfer Types of a particular
viewer using the dragAssistant element.
Clients may choose to programmatically bind drag assistants to an
instance of the DND Service. A programmatic binding is not persisted
between sessions and is not propagated to other instances of
INavigatorContentService with the same id.
Parameters: anAssistant - The assistant to bind.
This method returns an array of
CommonDropAdapterAssistant from
content extensions that are visible and active for the
associated
INavigatorContentService . The array is sorted by
priority, with overrides taken into account.
Parameters: aDropTarget - The target element in the viewer of the drop operation. Parameters: theTransferType - The transfer type of the current drop operation. An array of CommonDropAdapterAssistants that are definedby the set oforg.eclipse.ui.navigator.navigatorContent/navigatorContentextensions that provide a possibleChildren expressionthat matches the given drop target.
Parameters: aDropTarget - The target element in the viewer of the drop operation. Parameters: theDragSelection - The drag selection of the current drop operation. An array of CommonDropAdapterAssistants that are definedby the set oforg.eclipse.ui.navigator.navigatorContent/navigatorContentextensions that provide a possibleChildren expressionthat matches the given drop target.
As part of the org.eclipse.ui.navigator.viewer extension point,
clients may explicit extend the support Transfer Types of a particular
viewer using the dragAssistant element. This element defines a
class which extends
CommonDragAdapterAssistant and can direct the
viewer on how to provide different kinds of DND Transfer Types. The array
is returned in no particular order.
An array of CommonDragAdapterAssistant or an empty array.