|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.Request
org.eclipse.gef.requests.LocationRequest
A Request that needs to keep track of a location.
Constructor Summary | |
LocationRequest()
Constructs a LocationRequest with no type. |
|
LocationRequest(java.lang.Object type)
Constructs a LocationRequest with the given type. |
Method Summary | |
org.eclipse.draw2d.geometry.Point |
getLocation()
Returns the current location. |
void |
setLocation(org.eclipse.draw2d.geometry.Point p)
Sets the current location. |
Methods inherited from class org.eclipse.gef.Request |
getExtendedData, getType, setExtendedData, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocationRequest()
public LocationRequest(java.lang.Object type)
type
- the typeMethod Detail |
public org.eclipse.draw2d.geometry.Point getLocation()
public void setLocation(org.eclipse.draw2d.geometry.Point p)
p
- The current location.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |