|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDropTargetContext
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 |
---|
static final int LOCATION_BEFORE
getRelativeLocation()
,
Constant Field Valuesstatic final int LOCATION_AFTER
getRelativeLocation()
,
Constant Field Valuesstatic final int LOCATION_ON
getRelativeLocation()
,
Constant Field Valuesstatic final int LOCATION_NONE
getRelativeLocation()
,
Constant Field ValuesMethod Detail |
---|
Control getViewerControl()
IWorkbenchPart getActivePart()
IWorkbenchPart
associated with the drop
target viewer.
IWorkbenchPart
java.lang.Object getCurrentTarget()
Point getCurrentLocation()
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.