org.eclipse.gef
Class Request
java.lang.Object
|
+--org.eclipse.gef.Request
- Direct Known Subclasses:
- CreateRequest, DirectEditRequest, ForwardedRequest, GroupRequest, LocationRequest
- public class Request
- extends Object
Encapsulates the information EditParts need to perform various functions.
Using specific Request types when communicating with EditParts defines a
clear contract between the Requester and the receiver of the Request.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Request
public Request()
Request
public Request(Object type)
- Constructs a Request with the type type
getType
public Object getType()
- returns the type of the request
setType
public void setType(Object type)
- Sets the type of the request
- Parameters:
type - the new Request type