Class VTDualListingDragNDropHandler

java.lang.Object
ghidra.feature.vt.gui.duallisting.VTDualListingDragNDropHandler
All Implemented Interfaces:
docking.dnd.Draggable, docking.dnd.Droppable

public class VTDualListingDragNDropHandler extends Object implements docking.dnd.Draggable, docking.dnd.Droppable
  • Constructor Details

    • VTDualListingDragNDropHandler

      public VTDualListingDragNDropHandler(VTController controller, ghidra.features.base.codecompare.listing.ListingCodeComparisonPanel dualListingPanel)
  • Method Details

    • getDragAction

      public int getDragAction()
      Specified by:
      getDragAction in interface docking.dnd.Draggable
    • getDragSourceListener

      public DragSourceListener getDragSourceListener()
      Specified by:
      getDragSourceListener in interface docking.dnd.Draggable
    • isStartDragOk

      public boolean isStartDragOk(DragGestureEvent e)
      Specified by:
      isStartDragOk in interface docking.dnd.Draggable
    • getTransferable

      public Transferable getTransferable(Point p)
      Specified by:
      getTransferable in interface docking.dnd.Draggable
    • isDropOk

      public boolean isDropOk(DropTargetDragEvent e)
      Specified by:
      isDropOk in interface docking.dnd.Droppable
    • add

      public void add(Object obj, DropTargetDropEvent event, DataFlavor f)
      Specified by:
      add in interface docking.dnd.Droppable