public interface DNDProvider
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.dnd.DragSourceListener |
getDragListener(org.eclipse.jface.viewers.AbstractTableViewer tableViewer)
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.jface.viewers.AbstractTableViewer tableViewer)
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 table.
|
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.AbstractTableViewer tableViewer)
DragSourceListener
used to setup the
drag support
for the viewer.tableViewer
- the AbstractTableViewerint 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.jface.viewers.AbstractTableViewer tableViewer)
DragSourceListener
used to setup the
drop support
for the viewer.tableViewer
- the AbstractTableViewerCopyright © 2016. All rights reserved.