|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvocleditor.model.VOCLModelManager
public class VOCLModelManager
Drives the model. Acts as the model entry point.
Constructor Summary | |
---|---|
VOCLModelManager()
|
Method Summary | |
---|---|
VOCLModel.VOCLDiagram |
createVOCLModel(org.eclipse.core.runtime.IPath path)
Creates a new VOCLModel. |
static VOCLModel.VOCLModelFactory |
getFactory()
Returns the factory associated with the model. |
VOCLModel.VOCLDiagram |
getModel()
Gets the top level VOCLmodel. |
org.eclipse.emf.ecore.resource.Resource |
getResource(org.eclipse.core.runtime.IPath path)
Returns the resource containing the VOCLmodel. |
void |
load(org.eclipse.core.runtime.IPath path)
Loads the content of the model from the file. |
void |
reload(org.eclipse.core.runtime.IPath path)
reloads the content of the model from the file. |
void |
save(org.eclipse.core.runtime.IPath path)
Saves the content of the model to the file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VOCLModelManager()
Method Detail |
---|
public org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.core.runtime.IPath path)
path
- The path to the requested vocl file
public static VOCLModel.VOCLModelFactory getFactory()
public VOCLModel.VOCLDiagram createVOCLModel(org.eclipse.core.runtime.IPath path)
path
- The path to the new file
public void load(org.eclipse.core.runtime.IPath path) throws java.io.IOException
path
-
java.io.IOException
public void reload(org.eclipse.core.runtime.IPath path) throws java.io.IOException
path
-
java.io.IOException
public void save(org.eclipse.core.runtime.IPath path) throws java.io.IOException
path
-
java.io.IOException
public VOCLModel.VOCLDiagram getModel()
VOCLDiagram
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |