Interface IModelManager
-
public interface IModelManager
The central point for an element to access information and services related to the model as a whole.An instance of the model manager is safe for use by multiple threads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IModelManager.Provider
Provides access to the model manager.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElementManager
getElementManager()
Returns the element manager that is to be shared between all elements of the model.IModel
getModel()
Returns the managed model.
-
-
-
Method Detail
-
getModel
IModel getModel()
Returns the managed model.- Returns:
- the managed model (never
null
)
-
getElementManager
ElementManager getElementManager()
Returns the element manager that is to be shared between all elements of the model. Typical implementations would answer a model-specific singleton.- Returns:
- the element manager (never
null
)
-
-