|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.standalone.StandaloneApplication
public class StandaloneApplication
This class executes an OCL evaluation of a model with one or several OCL
file(s). This class is intended to be used only in Standalone mode. The
result may be saved in a XMI file or exported as a HTML report.
Field Summary |
---|
Fields inherited from interface org.eclipse.equinox.app.IApplication |
---|
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART |
Constructor Summary | |
---|---|
StandaloneApplication()
|
Method Summary | |
---|---|
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()
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandaloneApplication()
Method Detail |
---|
public void doCompleteOCLSetup()
resourceSet
- the resource set.@NonNull public StandaloneResponse execute(@NonNull java.lang.String[] args)
args
- the application arguments.
@NonNull public java.util.Collection<StandaloneCommand> getCommands()
@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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |