Klasse CustomDropTargetAdapter

java.lang.Object
org.eclipse.swt.dnd.DropTargetAdapter
org.oxt.toolbox.helpers.CustomDropTargetAdapter
Alle implementierten Schnittstellen:
EventListener, org.eclipse.swt.dnd.DropTargetListener, org.eclipse.swt.internal.SWTEventListener

public class CustomDropTargetAdapter extends org.eclipse.swt.dnd.DropTargetAdapter
Class to define a custom drop target adapter. Consumes a file or set of files and processes he validation of visualization.
Autor:
Dr. Jan C. Thiele
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    (Package privat) org.eclipse.swt.dnd.FileTransfer
     
    (Package privat) org.apache.logging.log4j.Logger
     
    (Package privat) org.eclipse.swt.widgets.Shell
     
    (Package privat) boolean
     
    (Package privat) boolean
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    CustomDropTargetAdapter(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.dnd.FileTransfer fileTransfer, boolean viz, boolean vali)
    Constructor.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    drop(org.eclipse.swt.dnd.DropTargetEvent event)
    Method to process dropped files.

    Von Klasse geerbte Methoden org.eclipse.swt.dnd.DropTargetAdapter

    dragEnter, dragLeave, dragOperationChanged, dragOver, dropAccept

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • logger

      org.apache.logging.log4j.Logger logger
    • shell

      org.eclipse.swt.widgets.Shell shell
    • viz

      boolean viz
    • vali

      boolean vali
    • fileTransfer

      org.eclipse.swt.dnd.FileTransfer fileTransfer
  • Konstruktordetails

    • CustomDropTargetAdapter

      public CustomDropTargetAdapter(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.dnd.FileTransfer fileTransfer, boolean viz, boolean vali)
      Constructor.
      Parameter:
      shell - Shell widget
      fileTransfer - drag-and-drop file transfer
      viz - indicator, if called for visualization
      vali - indicator, if called for validation
  • Methodendetails

    • drop

      public void drop(org.eclipse.swt.dnd.DropTargetEvent event)
      Method to process dropped files. Creates either the visualization of validation report.
      Angegeben von:
      drop in Schnittstelle org.eclipse.swt.dnd.DropTargetListener
      Setzt außer Kraft:
      drop in Klasse org.eclipse.swt.dnd.DropTargetAdapter