|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPlatformObject
eu.geclipse.core.model.impl.AbstractGridElement
eu.geclipse.core.model.impl.AbstractGridContainer
eu.geclipse.core.model.impl.ResourceGridContainer
public class ResourceGridContainer
IResource based implementation of an IGridContainer.
| Method Summary | |
|---|---|
IFileStore |
getFileStore()
Get the file store that this element is associated with. |
java.lang.String |
getName()
Get the name of this element. |
IGridContainer |
getParent()
Get the parent element of this element. |
IPath |
getPath()
Get the path of this element relative to the grid root element. |
IResource |
getResource()
Get the corresponding resource of this element. |
boolean |
isLazy()
Determines if this container is using a lazy loading mechanism to manage its children. |
boolean |
isLocal()
Determines if this element is local. |
| Methods inherited from class eu.geclipse.core.model.impl.AbstractGridContainer |
|---|
canContain, contains, create, delete, deleteAll, dispose, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, refresh, setDirty |
| Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElement |
|---|
getAdapter, getProject, isHidden, isVirtual |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.geclipse.core.model.IGridElement |
|---|
getProject, isHidden, isVirtual |
| Method Detail |
|---|
public boolean isLazy()
IGridContainerIGridContainer.getChildren(IProgressMonitor monitor) methode is
called the first time. On subsequent calls of
IGridContainer.getChildren(IProgressMonitor monitor) the formerly loaded
children are returned unless the IGridContainer.setDirty() method was
called. In that case a call to
IGridContainer.getChildren(IProgressMonitor monitor) will cause a
reload of this containers children.
Lazy containers always have to return true if they are asked
if they contain any children with IGridContainer.hasChildren().
public IFileStore getFileStore()
IGridElementnull if there is no such associated
file store. If this element is not virtual the filestore
corresponds to the file store of the corresponding resource.
public final java.lang.String getName()
IGridElement
public IGridContainer getParent()
IGridElementIGridContainer. This method may not return
null since the only element that is allowed to
return null is the IGridRoot which is a
singleton and is internally defined within the model.
public IPath getPath()
IGridElement@IResource.
public IResource getResource()
IGridElementnull if - and only if - this element is virtual.
null if this
element is virtual.public boolean isLocal()
IGridElementIResource) that
is local in the means that it is located on the local machine.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||