|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.diagram.core.edithelpers.CreateElementRequestAdapter
public class CreateElementRequestAdapter
Descriptor for a create element request that can adapt to the request type, the container element and the element type to be created.
Constructor Summary | |
---|---|
CreateElementRequestAdapter(CreateElementRequest createElementRequest)
Constructs a new adapter. |
Method Summary | |
---|---|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
java.lang.Object |
getProxyClassID()
Obtains the ID (fully-qualified name) of the EClass of the proxy object. |
org.eclipse.emf.ecore.EObject |
resolve()
Resolves the proxy. |
void |
setNewElement(org.eclipse.emf.ecore.EObject newElement)
Sets the new element that has been created in response to this request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateElementRequestAdapter(CreateElementRequest createElementRequest)
createElementRequest
- the request to create a new element.Method Detail |
---|
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface IAdaptable
public void setNewElement(org.eclipse.emf.ecore.EObject newElement)
newElement
- the new elementpublic java.lang.Object getProxyClassID()
IProxyEObject
EClass
of the proxy object.
getProxyClassID
in interface IProxyEObject
EClass
ID (must not be null
)ProxyUtil#getProxyClassID(EObject)
public org.eclipse.emf.ecore.EObject resolve()
IProxyEObject
resolve
in interface IProxyEObject
null
if the proxy could not
be resolvedProxyUtil#resolve(EObject)
|
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.