|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface that contains the context information relevant to the drop target.
| Field Summary | |
static int |
LOCATION_AFTER
Constant describing the position of the cursor relative to the target object. |
static int |
LOCATION_BEFORE
Constant describing the position of the cursor relative to the target object. |
static int |
LOCATION_NONE
Constant describing the position of the cursor relative to the target object. |
static int |
LOCATION_ON
Constant describing the position of the cursor relative to the target object. |
| Method Summary | |
IWorkbenchPart |
getActivePart()
Returns the active IWorkbenchPart associated with the drop
target viewer. |
Point |
getCurrentLocation()
Returns the coordinates of the current location of the mouse. |
java.lang.Object |
getCurrentTarget()
Returns the current target on the drop target viewer |
int |
getRelativeLocation()
Constant describing the position of the cursor relative to the target object |
Control |
getViewerControl()
Returns the control associated with the drop target viewer. |
| Field Detail |
public static final int LOCATION_BEFORE
IDropTargetContext.getRelativeLocation(),
Constant Field Valuespublic static final int LOCATION_AFTER
IDropTargetContext.getRelativeLocation(),
Constant Field Valuespublic static final int LOCATION_ON
IDropTargetContext.getRelativeLocation(),
Constant Field Valuespublic static final int LOCATION_NONE
IDropTargetContext.getRelativeLocation(),
Constant Field Values| Method Detail |
public Control getViewerControl()
public IWorkbenchPart getActivePart()
IWorkbenchPart associated with the drop
target viewer.
IWorkbenchPartpublic java.lang.Object getCurrentTarget()
public Point getCurrentLocation()
public int getRelativeLocation()
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.