|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.Request
org.eclipse.gmf.runtime.diagram.ui.requests.DropObjectsRequest
A Drop request that has a List of Objects
to drop at a specific location on the target editpart
The request can also return an object representing the
result of the drop requiredDetail
| Constructor Summary | |
DropObjectsRequest()
Method CreateViewRequest. |
|
| Method Summary | |
int |
getAllowedDetail()
Gets the allowed requiredDetail as in the DND event |
Point |
getLocation()
Returns the location. |
java.util.List |
getObjects()
Returns the objects. |
int |
getRequiredDetail()
gets the drag requiredDetail |
java.lang.Object |
getResult()
Returns the result of the drop request |
void |
setAllowedDetail(int allowedDetail)
Sets the allowed requiredDetail as in the DND event |
void |
setLocation(Point location)
Sets the location. |
void |
setObjects(java.util.List objects)
Sets the objects. |
void |
setRequiredDetail(int operation)
Sets the drag requiredDetail |
void |
setResult(java.lang.Object result)
Sets the result of the drop request Editpolicies can use this method to set the result of the request |
| Methods inherited from class org.eclipse.gef.Request |
getExtendedData, getType, setExtendedData, setType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DropObjectsRequest()
| Method Detail |
public final java.util.List getObjects()
public Point getLocation()
getLocation in interface DropRequestpublic java.lang.Object getResult()
DND interfacepublic int getRequiredDetail()
public int getAllowedDetail()
public final void setObjects(java.util.List objects)
objects - The objects to setpublic void setLocation(Point location)
location - The location to setpublic void setResult(java.lang.Object result)
result - The result to setpublic void setRequiredDetail(int operation)
operation - can be any DROP_* field of the DND interfacepublic void setAllowedDetail(int allowedDetail)
allowedDetail - the allowed requiredDetail in the DND event
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.