Package org.eclipse.gef.requests
Class LocationRequest
java.lang.Object
org.eclipse.gef.Request
org.eclipse.gef.requests.LocationRequest
- Direct Known Subclasses:
- BendpointRequest,- DirectEditRequest,- ReconnectRequest,- SelectionRequest
A Request that needs to keep track of a location.
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a LocationRequest with no type.LocationRequest(Object type) Constructs a LocationRequest with the given type.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the current location.voidsetLocation(Point p) Sets the current location.Methods inherited from class org.eclipse.gef.RequestgetExtendedData, getType, setExtendedData, setType
- 
Constructor Details- 
LocationRequestpublic LocationRequest()Constructs a LocationRequest with no type.
- 
LocationRequestConstructs a LocationRequest with the given type.- Parameters:
- type- the type
 
 
- 
- 
Method Details- 
getLocationReturns the current location.- Returns:
- The current location
 
- 
setLocationSets the current location.- Parameters:
- p- The current location.
 
 
-