Class EMFProfileInitializationTask
java.lang.Object
tools.mdsd.library.standalone.initialization.emfprofiles.EMFProfileInitializationTask
- All Implemented Interfaces:
InitializationTask
Initialization task for a
Profile
of EMF Profiles.
This task is not self-contained. In order to make the registration work, callers have to ensure
that the project containing the profile is already known to the EMF registry by using
initialization tasks like StandaloneInitializerBuilder.registerProjectURI(Class, String)
.-
Constructor Summary
ConstructorDescriptionEMFProfileInitializationTask
(String projectName, String profilePath) Constructs the task. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Performs an initialization if running inside of Eclipse.void
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, isPlatformRunning
-
Constructor Details
-
EMFProfileInitializationTask
Constructs the task.- Parameters:
projectName
- The name of the project that holds the profile.profilePath
- The path to the profile model relative to the 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.
-
initializationWithPlatform
Description copied from interface:InitializationTask
Performs an initialization if running inside of Eclipse.- Specified by:
initializationWithPlatform
in interfaceInitializationTask
- Throws:
StandaloneInitializationException
- In case of an error during the initialization.
-