Class MetaModelRegistrationTask
java.lang.Object
tools.mdsd.library.standalone.initialization.core.MetaModelRegistrationTask
- All Implemented Interfaces:
InitializationTask
Initilization task for manually registering EMF meta models.
This implementation assumes that the project containing the meta model has already been registered
with the EMF registries. Callers have to ensure the proper state of the registries, e.g. by
registering the project with another
InitializationTask
.-
Constructor Summary
ConstructorDescriptionMetaModelRegistrationTask
(String projectName, String metaModelPath) Constructs the task -
Method Summary
Modifier and TypeMethodDescriptionvoid
Performs an initialization if running outside of Eclipse.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tools.mdsd.library.standalone.initialization.InitializationTask
init, initializationWithPlatform, isPlatformRunning
-
Constructor Details
-
MetaModelRegistrationTask
Constructs the task- Parameters:
projectName
- The name of the project hosting the meta model.metaModelPath
- The path of the meta model relative to the given project without leading slash.
-
-
Method Details
-
initilizationWithoutPlatform
Description copied from interface:InitializationTask
Performs an initialization if running outside of Eclipse.- Specified by:
initilizationWithoutPlatform
in interfaceInitializationTask
- Throws:
StandaloneInitializationException
- In case of an error during the initialization.
-