eu.geclipse.core.model
Interface IDefaultGridElementManager
- All Superinterfaces:
- IGridContainer, IGridElement, IGridElementManager, IGridModelNotifier
- All Known Subinterfaces:
- IVoManager
public interface IDefaultGridElementManager
- extends IGridElementManager
An IGridElementManager that supports the management of
a default element. A default element is an element contained
in the manager that represents a default choice whenever the
user is asked to make a choice.
| Methods inherited from interface eu.geclipse.core.model.IGridContainer |
canContain, contains, create, delete, deleteAll, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, isLazy, refresh, setDirty |
setDefault
void setDefault(IGridElement defaultElement)
throws ProblemException
- Sets this manager default element.
- Parameters:
defaultElement - The element that should be set as default.
If the element is not yet contained in the manager it will be
added to the managers children.
- Throws:
ProblemException - If this manager can not handle the
specified element.- See Also:
IGridElementManager.canManage(IGridElement)
getDefault
IGridElement getDefault()
- The current default element of this manager.
- Returns:
- The default element.