|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICARMANavigable
Interface for navigating hierarchical structures in an abstract manner.
This interface is not finalized and subject to change
| Method Summary | |
|---|---|
void |
accept(IReferenceVisitor visitor)
Accepts the given visitor. |
CARMAResource |
create(org.eclipse.core.runtime.IProgressMonitor monitor,
ResourceContainer parentContainer,
CarmaTaskMemento momento)
Creates the given navigable resource as a new item in the CARMA hierachy. |
java.util.Collection<? extends ICARMANavigable> |
getChildren()
Retrieves the children of the current navigable item. |
java.lang.Object |
getLocalResource()
Return the local resource being navigated |
java.lang.String |
getLocalResourceName()
Return the name of the navigable resource |
boolean |
isContainer()
Returns a value of true if the resource being navigated is a container (node) |
boolean |
isMember()
Returns a value of true if the resource being navigated is a member (leaf) |
| Method Detail |
|---|
java.lang.String getLocalResourceName()
java.lang.Object getLocalResource()
boolean isContainer()
boolean isMember()
java.util.Collection<? extends ICARMANavigable> getChildren()
isContainer() method returns false.
void accept(IReferenceVisitor visitor)
throws org.eclipse.core.runtime.CoreException
The visitor's visit method is called with this
navigable resource. If the visitor returns true, this method
visits this navigable children.
visitor - the visitor
org.eclipse.core.runtime.CoreException - if this method fails. Reasons include:
CARMAResource create(org.eclipse.core.runtime.IProgressMonitor monitor,
ResourceContainer parentContainer,
CarmaTaskMemento momento)
throws org.eclipse.core.runtime.CoreException,
NotConnectedException,
UnsupportedCARMAOperationException
monitor - monitor for the operationparentContainer - the parent container for the create operationmomento - momento for the current create task
org.eclipse.core.runtime.CoreException - an error occured during the create execution
NotConnectedException - The action could not be performed because the CARMA connection or Repository Manager is not active.
UnsupportedCARMAOperationException - The action could not be performed because the action is not supported by the Repository Manager on the host
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||