|
TPTP 4.4.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.core.resources.IResource |
getCorrespondingResource()
|
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 |
getFactoryID()
Returns the id of the factory that is able to recreate this proxy node starting to a save state. |
java.lang.String |
getIdentifier()
Identifier for an EMF object is its URI fragment part. |
protected abstract java.lang.String |
getNodeKind()
|
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. |
boolean |
saveState(org.eclipse.ui.IMemento memento)
Save the content of the current proxy node in the given memento 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.IAdaptablepublic java.lang.String getFactoryID()
IPersistableProxyNodeorg.eclipse.hyades.test.ui.testNavigatorFileProxyFactoryorg.eclipse.hyades.test.ui.testNavigatorTypedElementProxyFactory
getFactoryID in interface IPersistableProxyNodeIPersistableProxyNode.getFactoryID()public boolean saveState(org.eclipse.ui.IMemento memento)
IPersistableProxyNode
saveState in interface IPersistableProxyNodememento - the memento in which the state of the current proxy node should be added.
IPersistableProxyNode.saveState(org.eclipse.ui.IMemento)protected abstract java.lang.String getNodeKind()
public org.eclipse.core.resources.IResource getCorrespondingResource()
getCorrespondingResource in interface org.eclipse.hyades.test.ui.internal.navigator.proxy.IExtendedProxyNode
|
TPTP 4.4.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||