g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IGridRoot

All Superinterfaces:
IGridContainer, IGridElement, IGridModelNotifier

public interface IGridRoot
extends IGridContainer, IGridModelNotifier

This is the root element of the whole grid model. it is the parent of all currently contained projects. It also holds the various managers as children. The managers are not available via the IGridContainer.getChildren(IProgressMonitor monitor) method but only via the dedicated getManager-methods.


Method Summary
 IGridElement findElement(IPath path)
          Search the model for an element contained in the specified path.
 
Methods inherited from interface eu.geclipse.core.model.IGridContainer
canContain, contains, create, delete, deleteAll, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, isLazy, refresh, setDirty
 
Methods inherited from interface eu.geclipse.core.model.IGridElement
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 
Methods inherited from interface eu.geclipse.core.model.IGridModelNotifier
addGridModelListener, removeGridModelListener
 

Method Detail

findElement

IGridElement findElement(IPath path)
Search the model for an element contained in the specified path. It is therefore assumed that the path is relative to the grid root, i.e. a path that is returned by IGridElement.getPath().

Parameters:
path - The path pointing to the element.
Returns:
The element or null if no element could be found in the specified path.

g-Eclipse
Release 1.0.0