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
ConstructorsConstructorDescriptionEMFProfileInitializationTask(String projectName, String profilePath) Constructs the task. -
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms an initialization if running inside of Eclipse.voidPerforms an initialization if running outside of Eclipse.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:InitializationTaskPerforms an initialization if running outside of Eclipse.- Specified by:
initilizationWithoutPlatformin interfaceInitializationTask- Throws:
StandaloneInitializationException- In case of an error during the initialization.
-
initializationWithPlatform
Description copied from interface:InitializationTaskPerforms an initialization if running inside of Eclipse.- Specified by:
initializationWithPlatformin interfaceInitializationTask- Throws:
StandaloneInitializationException- In case of an error during the initialization.
-