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.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.
    • Method Detail

      • hasDND

        boolean hasDND()
        Whether DND support should be added to the tree.
        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.TreeViewer treeViewer)
        Returns the DragSourceListener used to setup the drag support for the viewer.
        Parameters:
        treeViewer - the treeviewer
        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.emf.edit.domain.EditingDomain editingDomain,
                                                               org.eclipse.jface.viewers.TreeViewer treeViewer)
        Returns the DragSourceListener used to setup the drop support for the viewer.
        Parameters:
        editingDomain - the editing domain
        treeViewer - the treeviewer
        Returns:
        the listener