|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridElementManager
Base interface for all element managers. A manager is a virtual
grid container that is a child of the IGridRoot element
but is not accessible with the
IGridContainer.getChildren(IProgressMonitor monitor)
method. A manager can always manage only one type of grid elements.
So there are dedicated managers for different grid element, e.g.
IVirtualOrganization. A manager can therefore always be seen
as a central repository for a special type of grid elements. The
canManage(IGridElement) method therefore determines the
type of elements that can be managed by a dedicated manager. To
get a certain manager make use of the getManager-methods of
IGridRoot.
Note that dedicated managers are always singletons!
| Method Summary | |
|---|---|
boolean |
addElement(IGridElement element)
Add the specified element to the list of managed elements. |
boolean |
canManage(IGridElement element)
Determines if this manager is able to manage the specified grid element. |
boolean |
removeElement(IGridElement element)
Remove the specified element from the list of managed elements. |
| 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 |
|---|
boolean canManage(IGridElement element)
element - The element that wants to be managed by this
manager.
boolean addElement(IGridElement element)
throws ProblemException
element - The element to be added.
ProblemException - If the element could not be added
due to a problem, e.g. the element could not be managed by
this manager.boolean removeElement(IGridElement element)
element - The element to be removed.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||