Interface DNDProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • hasDND

        boolean hasDND()
        Whether DND support should be added to the table.
        Returns:
        true if DND will be added, based on the other methods of this interface, or false if DND should not be added
      • getDragOperations

        int getDragOperations()
        Returns the drag operations bits used to setup the drag support for the viewer.
        Returns:
        the drag operations
      • getDragTransferTypes

        org.eclipse.swt.dnd.Transfer[] getDragTransferTypes()
        Returns the drag transfer types used to setup the drag support for the viewer.
        Returns:
        the drag transfer types
      • getDragListener

        org.eclipse.swt.dnd.DragSourceListener getDragListener​(org.eclipse.jface.viewers.AbstractTableViewer tableViewer)
        Returns the DragSourceListener used to setup the drag support for the viewer.
        Parameters:
        tableViewer - the AbstractTableViewer
        Returns:
        the listener
      • getDropOperations

        int getDropOperations()
        Returns the drag operations bits used to setup the drop support for the viewer.
        Returns:
        the drop operations
      • getDropTransferTypes

        org.eclipse.swt.dnd.Transfer[] getDropTransferTypes()
        Returns the drag transfer types used to setup the drop support for the viewer.
        Returns:
        the drop transfer types
      • getDropListener

        org.eclipse.swt.dnd.DropTargetListener getDropListener​(org.eclipse.jface.viewers.AbstractTableViewer tableViewer)
        Returns the DragSourceListener used to setup the drop support for the viewer.
        Parameters:
        tableViewer - the AbstractTableViewer
        Returns:
        the listener