eu.geclipse.core.model
Interface IStorableElementManager
- All Superinterfaces:
- IGridContainer, IGridElement, IGridElementManager, IGridModelNotifier
- All Known Subinterfaces:
- IVoManager
public interface IStorableElementManager
- extends IGridElementManager
An IGridElementManager that is able to save its
managed elements and to load them back. That makes the state
of that manager persistent.
|
Method Summary |
void |
loadElements()
Load the state of this manager from a predefined location. |
void |
saveElements()
Save all currently 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 |
saveElements
void saveElements()
throws ProblemException
- Save all currently managed elements. It is the managers
responsibility to save the elements to an appropriate
location. It is also the managers responsibility how the
elements should be saved (one per file or all in one big
file...).
- Throws:
ProblemException - If an error occurs during the
save operation. This may for example be due to an
IOException.
loadElements
void loadElements()
throws ProblemException
- Load the state of this manager from a predefined location.
It is the managers responsibility to determine the location
from which to load the state. It is also the managers
responsibility how the elements are loaded (one per file or
all elements in one big file...). Be aware of the fact that all
formerly contained elements are deleted before the managers loads
the new elements.
- Throws:
ProblemException - If an error occurs during the
load operation. This may for example be due to an
IOException.