|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.test.ui.navigator.EObjectProxyNode
EMF object proxy element for the test navigator. Subclasses should provide IProxyNode methods implementation. EMF objects wrapped by subclasses will be stored in the test navigator resource set
| Constructor Summary | |
|---|---|
EObjectProxyNode(org.eclipse.emf.ecore.EObject eObject,
java.lang.Object parent)
Creates a proxy node from a emf object. |
|
EObjectProxyNode(org.eclipse.ui.IMemento memento,
java.lang.Object parent)
Constructor used to load a persisted proxy. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAdapter(java.lang.Class adapter)
For performance reason, EObjectProxyNode instances are not, by default, adaptable in EObject. |
org.eclipse.emf.ecore.EObject |
getEObject()
Returns the EMF object that is the originator of this proxy The returned EMF object is stored in the resource which is contained in the test navigaor resource set. |
java.lang.String |
getIdentifier()
Identifier for an EMF object is its URI fragment part. |
org.eclipse.emf.common.util.URI |
getOriginatorURI()
Returns the URI of the EObject that this proxy node is associated to. |
java.lang.Object |
getParent()
Returns the parent object of this node. |
org.eclipse.core.resources.IResource |
getUnderlyingResource()
Underlying resource of an EMF object is the file containing this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.hyades.test.ui.navigator.IProxyNode |
|---|
getChildren, getImage, getText |
| Constructor Detail |
public EObjectProxyNode(org.eclipse.ui.IMemento memento,
java.lang.Object parent)
memento - the memento containing the saved state of the proxy.parent - the parent node of the proxy node.
public EObjectProxyNode(org.eclipse.emf.ecore.EObject eObject,
java.lang.Object parent)
eObject - the originator object of the proxyparent - the parent of this node| Method Detail |
public org.eclipse.emf.ecore.EObject getEObject()
public java.lang.Object getParent()
IProxyNode
getParent in interface IProxyNodeIProxyNode.getParent()public org.eclipse.emf.common.util.URI getOriginatorURI()
public java.lang.String getIdentifier()
getIdentifier in interface IProxypublic org.eclipse.core.resources.IResource getUnderlyingResource()
getUnderlyingResource in interface IProxypublic java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptable
|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||