org.eclipse.gmf.runtime.lite.requests
Class CreateRequestEx

java.lang.Object
  extended by org.eclipse.gef.Request
      extended by org.eclipse.gef.requests.CreateRequest
          extended by org.eclipse.gmf.runtime.lite.requests.CreateRequestEx
All Implemented Interfaces:
org.eclipse.gef.requests.DropRequest

public class CreateRequestEx
extends org.eclipse.gef.requests.CreateRequest

A Request to create a new object of one of the specified types (Visual IDs).


Constructor Summary
CreateRequestEx(int[] visualIds)
          Creates a new request to create an object of the given object types.
CreateRequestEx(String modelID, int[] visualIds)
           
 
Method Summary
 String getModelID()
           
 int[] getVisualIds()
          Returns the types (Visual IDs) of objects whose creation is requested.
 void setCreatedObject(Object createdObject)
           
 
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
 

Constructor Detail

CreateRequestEx

public CreateRequestEx(int[] visualIds)
Creates a new request to create an object of the given object types.


CreateRequestEx

public CreateRequestEx(String modelID,
                       int[] visualIds)
Method Detail

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.