|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.Request
An Object used to communicate with EditParts. Request encapsulates the information EditParts need to perform various functions. Requests are used for obtaining commands, showing feedback, and performing generic operations. TODO: This should probably go into the org.eclipse.gef.requests package.
Constructor Summary | |
Request()
Constructs an empty Request |
|
Request(java.lang.Object type)
Constructs a Request with the specified type |
Method Summary | |
java.util.Map |
getExtendedData()
Returns a Map that can be used to save useful information in this request. |
java.lang.Object |
getType()
Returns the type of the request. |
void |
setExtendedData(java.util.Map map)
Sets the given map to be the new extended data (by reference) for this request. |
void |
setType(java.lang.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 |
public Request()
public Request(java.lang.Object type)
type
- the Request typegetType()
Method Detail |
public java.util.Map getExtendedData()
public java.lang.Object getType()
public void setExtendedData(java.util.Map map)
map
- The new mappublic void setType(java.lang.Object type)
type
- the Request type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |