TPTP 4.4.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.navigator
Interface IPersistableProxyNode

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IProxy, IProxyNode
All Known Implementing Classes:
DefaultTestSuiteProxyNode, EObjectProxyNode

public interface IPersistableProxyNode
extends IProxyNode

Persitable proxy node. Clients of this interface should implement this interface in order to persist the content of a proxy node to avoid its creation at the start time of the workbench or when the test navigator is re-open.


Method Summary
 java.lang.String getFactoryID()
          Returns the id of the factory that is able to recreate this proxy node starting to a save state.
 boolean saveState(org.eclipse.ui.IMemento memento)
          Save the content of the current proxy node in the given memento object.
 
Methods inherited from interface org.eclipse.hyades.test.ui.navigator.IProxyNode
getChildren, getImage, getParent, getText
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.hyades.test.ui.navigator.IProxy
getIdentifier, getUnderlyingResource
 

Method Detail

getFactoryID

public java.lang.String getFactoryID()
Returns the id of the factory that is able to recreate this proxy node starting to a save state. This id is declared in both extension:

Returns:
a proxy node factory id.

saveState

public boolean saveState(org.eclipse.ui.IMemento memento)
Save the content of the current proxy node in the given memento object.

Parameters:
memento - the memento in which the state of the current proxy node should be added.
Returns:
the returned value is no longer significant.

TPTP 4.4.0 Testing Tools Project
Public API Specification