public interface IModelioServicesRegistry
IModelioServices.
It is designed for Modelio internal use only, and should not be used by any Module.
| Modifier and Type | Method and Description |
|---|---|
<I> void |
registerService(java.lang.Class<I> serviceInterface,
I service)
Register a new service to be accessible by modules.
|
<I> void |
unregisterService(java.lang.Class<I> serviceInterface)
Unregister a service.
|
<I> void registerService(java.lang.Class<I> serviceInterface,
I service)
Usually called when opening a project.
serviceInterface - the interface implemented by the service. Should not be null.service - an instance of the service itself. Should not be null.<I> void unregisterService(java.lang.Class<I> serviceInterface)
Usually called when closing a project.
serviceInterface - the interface implemented by the service. Should not be null.