|
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.ContainerMarker
public class ContainerMarker
Child of container that may be used to mark the container as invalid or empty.
| Nested Class Summary | |
|---|---|
static class |
ContainerMarker.MarkerType
The type of this marker. |
| Constructor Summary | |
|---|---|
ContainerMarker(IGridContainer container,
ContainerMarker.MarkerType type,
java.lang.String message)
Create a new container marker of the specified type. |
|
| Method Summary | |
|---|---|
static ContainerMarker |
getEmptyFolderMarker(IGridContainer container)
|
static ContainerMarker |
getErrorMarker(IGridContainer container,
java.lang.Throwable t)
|
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. |
ContainerMarker.MarkerType |
getType()
Get the type of this marker. |
boolean |
isLocal()
Determines if this element is local. |
| Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElement |
|---|
dispose, getAdapter, getProject, isHidden, isVirtual |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerMarker(IGridContainer container,
ContainerMarker.MarkerType type,
java.lang.String message)
container - The container, i.e. the parent.type - The type of this marker, i.e. either
INFO or error.message - Message to be displayed.| Method Detail |
|---|
public static ContainerMarker getEmptyFolderMarker(IGridContainer container)
public static ContainerMarker getErrorMarker(IGridContainer container,
java.lang.Throwable t)
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 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 ContainerMarker.MarkerType getType()
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 | |||||||||