Class EMFProfileInitializationTask
- java.lang.Object
-
- tools.mdsd.library.standalone.initialization.emfprofiles.EMFProfileInitializationTask
-
- All Implemented Interfaces:
InitializationTask
public class EMFProfileInitializationTask extends Object implements InitializationTask
Initialization task for aProfile
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 likeStandaloneInitializerBuilder.registerProjectURI(Class, String)
.
-
-
Constructor Summary
Constructors Constructor Description EMFProfileInitializationTask(String projectName, String profilePath)
Constructs the task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initializationWithPlatform()
Performs an initialization if running inside of Eclipse.void
initilizationWithoutPlatform()
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
-
-
-
-
Method Detail
-
initilizationWithoutPlatform
public void initilizationWithoutPlatform() throws StandaloneInitializationException
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
public void initializationWithPlatform() throws StandaloneInitializationException
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.
-
-