| org.eclipse.pde.internal.ui.editor.toc.TocDropAdapter
TocDropAdapter | public class TocDropAdapter extends ViewerDropAdapter (Code) | | TocDropAdapter - implements drop behaviour for the TOC Tree Section.
It extends ViewerDropAdapter for advanced feedback behaviour, but
mostly overrides the specified drop behaviour.
|
Field Summary | |
final public static int | LOCATION_JUST_AFTER Constant describing the position of the cursor relative
to the target object. |
LOCATION_JUST_AFTER | final public static int LOCATION_JUST_AFTER(Code) | | Constant describing the position of the cursor relative
to the target object. This means the mouse is positioned
slightly after the target, but not after its children if it is
expanded.
See Also: TocDropAdapter.getCurrentLocation() |
determineLocation | protected int determineLocation(DropTargetEvent event)(Code) | | Returns the position of the given event's coordinates relative to its target.
The position is determined to be before, after, or on the item, based on
some threshold value.
Parameters: event - the event one of the LOCATION_* constants defined in this class |
dragEnter | public void dragEnter(DropTargetEvent event)(Code) | | |
dragLeave | public void dragLeave(DropTargetEvent event)(Code) | | |
dragOperationChanged | public void dragOperationChanged(DropTargetEvent event)(Code) | | |
dragOver | public void dragOver(DropTargetEvent event)(Code) | | |
drop | public void drop(DropTargetEvent event)(Code) | | |
dropAccept | public void dropAccept(DropTargetEvent event)(Code) | | |
validateDrop | public boolean validateDrop(Object target, int operation, TransferData transferType)(Code) | | |
|
|