public class IwirExporter extends AbstractFormatFilter implements TaskGraphExporterInterface
Constructor and Description |
---|
IwirExporter()
Instantiates a new iwir exporter.
|
Modifier and Type | Method and Description |
---|---|
void |
exportWorkflow(TaskGraph taskgraph,
java.io.File file,
boolean appendSuffix)
Converts the taskgraph to the appropriate format and writes it to the user choosen file.
|
javax.swing.filechooser.FileFilter[] |
getChoosableFileFilters()
Gets the list of choosable file filters.
|
javax.swing.filechooser.FileFilter |
getDefaultFileFilter()
Returns the default choosable file filter.
|
java.lang.String |
getFilterDescription()
Short description of the filter that will appear as the selection item in the list of filters.
|
boolean |
hasOptions()
Returns true if this filter has user configurable options, false otherwise.
|
int |
showOptionsDialog(java.awt.Component parent)
Pops up a the options dialog for this filter if there is one
|
java.lang.String |
toString()
Overrides the default
toString method to return the filter description |
public void exportWorkflow(TaskGraph taskgraph, java.io.File file, boolean appendSuffix) throws java.io.IOException, TaskGraphException
TaskGraphExporterInterface
exportWorkflow
in interface TaskGraphExporterInterface
taskgraph
- the taskgraph to exportjava.io.IOException
- thrown if there is an IO problem writing the file.TaskGraphException
public java.lang.String getFilterDescription()
AbstractFormatFilter
getFilterDescription
in class AbstractFormatFilter
public javax.swing.filechooser.FileFilter[] getChoosableFileFilters()
AbstractFormatFilter
getChoosableFileFilters
in class AbstractFormatFilter
FileFilter
array containing all choosable file filters.public javax.swing.filechooser.FileFilter getDefaultFileFilter()
AbstractFormatFilter
getDefaultFileFilter
in class AbstractFormatFilter
public boolean hasOptions()
AbstractFormatFilter
hasOptions
in class AbstractFormatFilter
public int showOptionsDialog(java.awt.Component parent)
AbstractFormatFilter
showOptionsDialog
in class AbstractFormatFilter
parent
- the parent component of the dialog, can be null
; see showDialog
for
detailsGraphicsEnvironment.isHeadless()
public java.lang.String toString()
AbstractFormatFilter
toString
method to return the filter descriptiontoString
in class AbstractFormatFilter