public class StandaloneApplication
extends java.lang.Object
implements org.eclipse.equinox.app.IApplication
Constructor and Description |
---|
StandaloneApplication() |
Modifier and Type | Method and Description |
---|---|
void |
doCompleteOCLSetup()
Initializes all the needed resource factories to create ecore and ocl
resources in the global registry.
|
StandaloneResponse |
execute(java.lang.String[] args)
This launch the application using the entered arguments.
|
java.util.Collection<StandaloneCommand> |
getCommands() |
EnvironmentFactory |
getEnvironmentFactory() |
OCL |
getOCL() |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
org.eclipse.emf.ecore.resource.Resource |
loadModelFile(org.eclipse.emf.common.util.URI fileUri)
Loads a file and returns The loaded resource.
|
org.eclipse.emf.ecore.resource.Resource |
loadOCLFile(org.eclipse.emf.common.util.URI oclUri)
Loads a file and returns The loaded resource.
|
java.lang.Object |
start(org.eclipse.equinox.app.IApplicationContext context) |
void |
stop() |
public void doCompleteOCLSetup()
@NonNull public StandaloneResponse execute(@NonNull java.lang.String[] args)
args
- the application arguments.@NonNull public java.util.Collection<StandaloneCommand> getCommands()
@NonNull public EnvironmentFactory getEnvironmentFactory()
@NonNull public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public org.eclipse.emf.ecore.resource.Resource loadModelFile(org.eclipse.emf.common.util.URI fileUri)
public org.eclipse.emf.ecore.resource.Resource loadOCLFile(org.eclipse.emf.common.util.URI oclUri)
public java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
start
in interface org.eclipse.equinox.app.IApplication
public void stop()
stop
in interface org.eclipse.equinox.app.IApplication