GEF v2.0

org.eclipse.gef.requests
Class LocationRequest

java.lang.Object
  |
  +--org.eclipse.gef.Request
        |
        +--org.eclipse.gef.requests.LocationRequest
Direct Known Subclasses:
BendpointRequest, ReconnectRequest, SelectionRequest

public class LocationRequest
extends Request

A Request that needs to keep track of a location.


Constructor Summary
LocationRequest()
           
 
Method Summary
 Point getLocation()
          Returns the current location.
 void setLocation(Point p)
          Sets the current location.
 
Methods inherited from class org.eclipse.gef.Request
getType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationRequest

public LocationRequest()
Method Detail

getLocation

public Point getLocation()
Returns the current location.
Returns:
The current location.

setLocation

public void setLocation(Point p)
Sets the current location.
Parameters:
p - The current location.

GEF v2.0