Class QueryWizardDragAndDrop

java.lang.Object
com._1c.g5.v8.dt.qw.ui.controls.QueryWizardDragAndDrop

public final class QueryWizardDragAndDrop extends Object
Query wizard drag and drop support
  • Method Details

    • enableTreeDrop

      public static void enableTreeDrop(QueryWizardControl qwControl, TreeViewer destination, org.eclipse.jface.action.Action action)
      Enable tree drop
      Parameters:
      qwControl - - query wizard control
      destination - - tree viewer
      action - - action on drop
    • enableTreeDrag

      public static void enableTreeDrag(QueryWizardControl qwControl, TreeViewer source, QueryWizardControl.DropEventFromType type, int dndType)
      Enable tree drag
      Parameters:
      qwControl - QueryWizardControl
      source - tree viewer
      type - drop event type
      dndType - drop type
    • enableTreeDrag

      public static void enableTreeDrag(QueryWizardControl qwControl, TreeViewer source, QueryWizardControl.DropEventFromType type)
      Enable tree drag
      Parameters:
      qwControl - QueryWizardControl
      source - tree viewer
      type - drop event type
    • validateTransferData

      public static boolean validateTransferData(QueryWizardControl queryWizard, org.eclipse.swt.dnd.TransferData transferType)
      Validate transfer data
      Parameters:
      queryWizard - - query wizard
      transferType - - transfer data
      Returns:
      is data valid for transfer