public abstract class Modelio extends Object
It is a singleton. It can be accessed by Modelio.getInstance()
method.
Modifier and Type | Field and Description |
---|---|
static PrintStream |
err
Deprecated.
Since Modelio 2.2, use
ILogService.error(com.modeliosoft.modelio.api.mdac.IMdac, String) instead. |
protected static Modelio |
instance |
static PrintStream |
out
Deprecated.
Since Modelio 2.2, use
ILogService.info(com.modeliosoft.modelio.api.mdac.IMdac, String) instead. |
Constructor and Description |
---|
Modelio() |
Modifier and Type | Method and Description |
---|---|
abstract IAuditService |
getAuditService()
Get the audit service.
|
abstract IModelioContext |
getContext()
Get the context of the Modelio application.
|
abstract IDiagramService |
getDiagramService()
Get the diagram manipulation service.
|
abstract IEditionService |
getEditionService()
Get the text editor management service.
|
abstract IExchangeService |
getExchangeService()
Get the service to import/export model elements.
|
abstract IImageService |
getImageService()
Get the service to get the image of an element.
|
static Modelio |
getInstance()
Get the modelio application instance.
|
abstract ILogService |
getLogService()
Get the log service for modules.
|
abstract IMetamodelService |
getMetamodelService()
Get the metamodel management service.
|
abstract IModelComponentService |
getModelComponentService()
Get the model component management service.
|
abstract IModelingSession |
getModelingSession()
Get the project session.
|
abstract IModelManipulationService |
getModelManipulationService()
Get the model manipulation service.
|
abstract IModuleService |
getModuleService()
Get the module management service.
|
abstract INavigationService |
getNavigationService()
Get the navigation service.
|
abstract IPickingService |
getPickingService()
Get the element picking service.
|
abstract IScriptService |
getScriptService()
Get the service to get the image of an element in the explorer.
|
@Deprecated public static final PrintStream err
ILogService.error(com.modeliosoft.modelio.api.mdac.IMdac, String)
instead.This stream display output to the Modelio console. By convention, this output stream is used to display error messages or other information that should come to the immediate attention of a user.
A typical way to write a line of error data to the Modelio console is:
Modelio.err.println(data)
See the println
methods in class PrintStream
.
protected static Modelio instance
@Deprecated public static final PrintStream out
ILogService.info(com.modeliosoft.modelio.api.mdac.IMdac, String)
instead.A typical way to write a line of output data to the Modelio console is:
Modelio.out.println(data)
See the println
methods in class PrintStream
.
public static Modelio getInstance()
public abstract IAuditService getAuditService()
public abstract IModelioContext getContext()
public abstract IDiagramService getDiagramService()
public abstract IEditionService getEditionService()
public abstract IImageService getImageService()
public abstract ILogService getLogService()
public abstract IMetamodelService getMetamodelService()
public abstract IModelComponentService getModelComponentService()
public abstract IModelingSession getModelingSession()
public abstract IModelManipulationService getModelManipulationService()
public abstract IModuleService getModuleService()
public abstract INavigationService getNavigationService()
The navigation service allow to force selection in all the view/dialog that are registered as NavigationListener.
public abstract IPickingService getPickingService()
public abstract IScriptService getScriptService()
public abstract IExchangeService getExchangeService()