public interface WorkflowModel extends WorkflowModelNotifier
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(Element element)
Add a component in the workflow
|
void |
exportWorkflow(URI outputUri)
Export the workflow
|
java.util.List<Element> |
getAllElements()
Retrieve all components of the workflow
|
Element |
getElement(int index)
Retrieve a component at the index specified
|
void |
initialize(ILaunchConfiguration configuration)
Initialize or load the workflow
|
void |
moveElementDown(int index)
To move an element down in the workflow
|
void |
moveElementUp(int index)
To move an element up in the workflow
|
void |
moveResource(java.lang.String path)
Move the resource to a new path.
|
void |
removeElement(int index)
Delete a component at the index specified
|
void |
removeResource(java.lang.String resourcePath)
Allows to remove the resource
|
void |
save(ILaunchConfigurationWorkingCopy configuration)
Save the resource
|
void |
setElement(int index,
Element element)
Change a component in the workflow
|
void |
synchronize(java.util.List<Element> elements)
Synchronize resources contained in the workflow
|
addListener, removeListenerElement getElement(int index)
index - Component indexjava.util.List<Element> getAllElements()
void addElement(Element element)
element - Element which represents a launch configurationvoid setElement(int index,
Element element)
index - Component indexelement - the new elementvoid moveElementUp(int index)
index - index of the element to move upvoid moveElementDown(int index)
index - index of the element to move downvoid removeElement(int index)
index - Component indexvoid initialize(ILaunchConfiguration configuration)
configuration - Launch configuration associatedvoid save(ILaunchConfigurationWorkingCopy configuration)
configuration - Launch configuration associatedvoid moveResource(java.lang.String path)
path - the new Workflow resource pathvoid removeResource(java.lang.String resourcePath)
path - Workflow resource pathvoid exportWorkflow(URI outputUri)
outputUri - The output locationvoid synchronize(java.util.List<Element> elements)
elements - elements to synchronize, contained in the MoDiscoWorkflow