public interface IModuleContext
Modifier and Type | Method and Description |
---|---|
IModuleUserConfiguration |
getConfiguration()
Get the "user" configuration associated to this module, meant to be accessed by the module itself.
|
I18nSupport |
getI18nSupport()
Get the i18n service for a module.
|
javax.script.ScriptEngine |
getJythonEngine()
Get the Jython scripting engine configured for having access to all the
module classes and the public classes of all required modules.
|
ILogService |
getLogService()
Get the log service for a module.
|
ModuleComponent |
getModel()
Returns the
ModuleComponent model associated with this module. |
IModelingSession |
getModelingSession()
Get the current modelinSession, ie the modeling session bound to the
project currently opened in Modelio
|
IModelioContext |
getModelioContext()
Get information about the Modelio application itself
|
IModelioServices |
getModelioServices()
Get the application level services provided by Modelio for module
development.
|
IModuleAPIConfiguration |
getPeerConfiguration()
Get the "api" configuration associated to this module, meant to be accessed by other modules and scripts.
|
IProjectStructure |
getProjectStructure()
Get the structure of the currently opened project.
|
void |
setModule(IModule iModule)
Initialize the module instance this context was built for.
|
IModuleUserConfiguration getConfiguration()
IModuleUserConfiguration
javax.script.ScriptEngine getJythonEngine()
IModule
MODULE : this moduleClassLoader
CLASSLOADER : the class loader of the moduleModuleComponent getModel()
ModuleComponent
model associated with this module.ModuleComponent
model associated with this module.IModelingSession getModelingSession()
IModelingSession
session bound to the project
currently opened in ModelioIModelioContext getModelioContext()
IModelioContext
instance.IModelioServices getModelioServices()
IModelioServices
instance.IProjectStructure getProjectStructure()
IProjectStructure
instance.I18nSupport getI18nSupport()
ILogService getLogService()
IModuleAPIConfiguration getPeerConfiguration()
IModuleAPIConfiguration
void setModule(IModule iModule)
iModule
- a module.