GEF v2.0

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.


Constructor Summary
Request()
           
Request(Object type)
          Constructs a Request with the type type
 
Method Summary
 Object getType()
          returns the type of the request
 void setType(Object type)
          Sets the type of the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Request

public Request()

Request

public Request(Object type)
Constructs a Request with the type type
Method Detail

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

GEF v2.0