org.eclipse.gmf.runtime.lite.requests
Class CreateConnectionRequestEx
java.lang.Object
org.eclipse.gef.Request
org.eclipse.gef.requests.CreateRequest
org.eclipse.gef.requests.CreateConnectionRequest
org.eclipse.gmf.runtime.lite.requests.CreateConnectionRequestEx
- All Implemented Interfaces:
- org.eclipse.gef.requests.DropRequest, org.eclipse.gef.requests.TargetRequest
public class CreateConnectionRequestEx
- extends org.eclipse.gef.requests.CreateConnectionRequest
A Request to create a connection of one of the specified types (Visual IDs).
Methods inherited from class org.eclipse.gef.requests.CreateConnectionRequest |
getSourceEditPart, getStartCommand, getTargetEditPart, setSourceEditPart, setStartCommand, setTargetEditPart |
Methods inherited from class org.eclipse.gef.requests.CreateRequest |
getFactory, getLocation, getNewObject, getNewObjectType, getSize, isSnapToEnabled, setFactory, setLocation, setSize, setSnapToEnabled |
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 |
CreateConnectionRequestEx
public CreateConnectionRequestEx(int[] visualIds)
- Creates a new request to create a connection of the given object types.
CreateConnectionRequestEx
public CreateConnectionRequestEx(String modelID,
int[] visualIds)
getVisualIds
public int[] getVisualIds()
- Returns the types (Visual IDs) of objects whose creation is requested.
setCreatedObject
public void setCreatedObject(Object createdObject)
getModelID
public String getModelID()
Copyright © 2012. All Rights Reserved.