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
Modifier and TypeInterfaceDescriptionstatic interface
Provides access to the model manager. -
Method Summary
Modifier and TypeMethodDescriptionReturns the element manager that is to be shared between all elements of the model.getModel()
Returns the managed model.
-
Method Details
-
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
)
-