|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridElement
This is the base interface of all interfaces and classes that
are members of a Grid model. Elements may have associated
IResources. In that case they are called non-virtual.
If they have no corresponding resource the element is called
virtual. If the element represents a resource or at least any item
that is local, i.e. contained somewhere on the local machine,
the element itself is called to be local.
| Method Summary | |
|---|---|
void |
dispose()
Clean up all resources that this element uses internally. |
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. |
IGridProject |
getProject()
Get the IGridProject this element belongs to. |
IResource |
getResource()
Get the corresponding resource of this element. |
boolean |
isHidden()
Determines if this element is hidden. |
boolean |
isLocal()
Determines if this element is local. |
boolean |
isVirtual()
Determines if this element is virtual. |
| Method Detail |
|---|
void dispose()
IFileStore getFileStore()
null 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.
java.lang.String getName()
IGridContainer getParent()
IGridContainer. 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.
IPath getPath()
@IResource.
IGridProject getProject()
IGridProject this element belongs to. This method
may return null if the element is not contained in
a project like for example an element manager and its children.
IGridProject this element belongs to.IResource getResource()
null if - and only if - this element is virtual.
null if this
element is virtual.boolean isHidden()
boolean isLocal()
IResource) that
is local in the means that it is located on the local machine.
boolean isVirtual()
false
the getResource() method returns null. If
this method returns true the getResource()
has to return a valid IResource that is related to
this element.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||