public interface DNDProvider
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.dnd.DragSourceListener |
getDragListener(org.eclipse.jface.viewers.TreeViewer treeViewer)
Returns the
DragSourceListener used to setup the
drag support for the viewer. |
int |
getDragOperations()
Returns the drag operations bits used to setup the
drag support for the viewer. |
org.eclipse.swt.dnd.Transfer[] |
getDragTransferTypes()
Returns the drag transfer types used to setup the
drag support for the viewer. |
org.eclipse.swt.dnd.DropTargetListener |
getDropListener(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
org.eclipse.jface.viewers.TreeViewer treeViewer)
Returns the
DragSourceListener used to setup the
drop support for the viewer. |
int |
getDropOperations()
Returns the drag operations bits used to setup the
drop support for the viewer. |
org.eclipse.swt.dnd.Transfer[] |
getDropTransferTypes()
Returns the drag transfer types used to setup the
drop support for the viewer. |
boolean |
hasDND()
Whether DND support should be added to the tree.
|
boolean hasDND()
true
if DND will be added, based on the other methods of this interface, or
false
if DND should not be addedint getDragOperations()
drag support
for the viewer.org.eclipse.swt.dnd.Transfer[] getDragTransferTypes()
drag support
for the viewer.transfer types
org.eclipse.swt.dnd.DragSourceListener getDragListener(org.eclipse.jface.viewers.TreeViewer treeViewer)
DragSourceListener
used to setup the
drag support
for the viewer.treeViewer
- the treeviewerint getDropOperations()
drop support
for the viewer.org.eclipse.swt.dnd.Transfer[] getDropTransferTypes()
drop support
for the viewer.transfer types
org.eclipse.swt.dnd.DropTargetListener getDropListener(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.jface.viewers.TreeViewer treeViewer)
DragSourceListener
used to setup the
drop support
for the viewer.editingDomain
- the editing domaintreeViewer
- the treeviewerCopyright © 2016. All rights reserved.