Eclipse Platform
Release 3.1

Uses of Class
org.eclipse.swt.dnd.DropTargetEvent

Packages that use DropTargetEvent
org.eclipse.jface.util Provides useful building blocks used throughout JFace, including property change events, a listener list implementation, and runtime checked assertions.  
org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.  
org.eclipse.swt.dnd SWT Drag and Drop support.  
org.eclipse.ui.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.  
org.eclipse.ui.views.navigator Provides the standard Resource Navigator view which presents the tree of resources in the workspace.  
 

Uses of DropTargetEvent in org.eclipse.jface.util
 

Methods in org.eclipse.jface.util with parameters of type DropTargetEvent
 boolean TransferDropTargetListener.isEnabled(DropTargetEvent event)
          Returns true if this listener can handle the drop based on the given DropTargetEvent.
 void DelegatingDropAdapter.dragEnter(DropTargetEvent event)
          The cursor has entered the drop target boundaries.
 void DelegatingDropAdapter.dragLeave(DropTargetEvent event)
          The cursor has left the drop target boundaries.
 void DelegatingDropAdapter.dragOperationChanged(DropTargetEvent event)
          The operation being performed has changed (usually due to the user changing a drag modifier key while dragging).
 void DelegatingDropAdapter.dragOver(DropTargetEvent event)
          The cursor is moving over the drop target.
 void DelegatingDropAdapter.drop(DropTargetEvent event)
          Forwards this event to the current listener, if there is one.
 void DelegatingDropAdapter.dropAccept(DropTargetEvent event)
          Forwards this event to the current listener if there is one.
 

Uses of DropTargetEvent in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers with parameters of type DropTargetEvent
protected  int ViewerDropAdapter.determineLocation(DropTargetEvent event)
          Returns the position of the given event's coordinates relative to its target.
protected  Object ViewerDropAdapter.determineTarget(DropTargetEvent event)
          Returns the target item of the given drop event.
 void ViewerDropAdapter.dragEnter(DropTargetEvent event)
           
 void ViewerDropAdapter.dragOperationChanged(DropTargetEvent event)
           
 void ViewerDropAdapter.dragOver(DropTargetEvent event)
           
 void ViewerDropAdapter.drop(DropTargetEvent event)
           
 void ViewerDropAdapter.dropAccept(DropTargetEvent event)
           
protected  void ViewerDropAdapter.handleException(Throwable exception, DropTargetEvent event)
          Deprecated. this method should not be used. Exception handling has been removed from DropTargetAdapter methods overridden by this class. Handles any exception that occurs during callback, including rethrowing behavior.

[Issue: Implementation prints stack trace and eats exception to avoid crashing VA/J. Consider conditionalizing the implementation to do one thing in VAJ and something more reasonable in other operating environments. ]

 

Uses of DropTargetEvent in org.eclipse.swt.dnd
 

Methods in org.eclipse.swt.dnd with parameters of type DropTargetEvent
 void DropTargetListener.dragEnter(DropTargetEvent event)
          The cursor has entered the drop target boundaries.
 void DropTargetListener.dragLeave(DropTargetEvent event)
          The cursor has left the drop target boundaries OR the drop has been cancelled OR the data is about to be dropped.
 void DropTargetListener.dragOperationChanged(DropTargetEvent event)
          The operation being performed has changed (usually due to the user changing the selected modifier key(s) while dragging).
 void DropTargetListener.dragOver(DropTargetEvent event)
          The cursor is moving over the drop target.
 void DropTargetListener.drop(DropTargetEvent event)
          The data is being dropped.
 void DropTargetListener.dropAccept(DropTargetEvent event)
          The drop is about to be performed.
 void DropTargetAdapter.dragEnter(DropTargetEvent event)
          This implementation of dragEnter permits the default operation defined in event.detailto be performed on the current data type defined in event.currentDataType.
 void DropTargetAdapter.dragLeave(DropTargetEvent event)
          This implementation of dragLeave does nothing.
 void DropTargetAdapter.dragOperationChanged(DropTargetEvent event)
          This implementation of dragOperationChanged permits the default operation defined in event.detailto be performed on the current data type defined in event.currentDataType.
 void DropTargetAdapter.dragOver(DropTargetEvent event)
          This implementation of dragOver permits the default operation defined in event.detailto be performed on the current data type defined in event.currentDataType.
 void DropTargetAdapter.drop(DropTargetEvent event)
          This implementation of drop does nothing.
 void DropTargetAdapter.dropAccept(DropTargetEvent event)
          This implementation of dropAccept permits the default operation defined in event.detailto be performed on the current data type defined in event.currentDataType.
 

Uses of DropTargetEvent in org.eclipse.ui.part
 

Methods in org.eclipse.ui.part with parameters of type DropTargetEvent
 void PluginDropAdapter.drop(DropTargetEvent event)
           
 

Uses of DropTargetEvent in org.eclipse.ui.views.navigator
 

Methods in org.eclipse.ui.views.navigator with parameters of type DropTargetEvent
 void NavigatorDropAdapter.dragEnter(DropTargetEvent event)
           
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.