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
TaskGraphExporterInterfaceexportWorkflow in interface TaskGraphExporterInterfacetaskgraph - the taskgraph to exportjava.io.IOException - thrown if there is an IO problem writing the file.TaskGraphExceptionpublic java.lang.String getFilterDescription()
AbstractFormatFiltergetFilterDescription in class AbstractFormatFilterpublic javax.swing.filechooser.FileFilter[] getChoosableFileFilters()
AbstractFormatFiltergetChoosableFileFilters in class AbstractFormatFilterFileFilter array containing all choosable file filters.public javax.swing.filechooser.FileFilter getDefaultFileFilter()
AbstractFormatFiltergetDefaultFileFilter in class AbstractFormatFilterpublic boolean hasOptions()
AbstractFormatFilterhasOptions in class AbstractFormatFilterpublic int showOptionsDialog(java.awt.Component parent)
AbstractFormatFiltershowOptionsDialog in class AbstractFormatFilterparent - the parent component of the dialog, can be null; see showDialog for
detailsGraphicsEnvironment.isHeadless()public java.lang.String toString()
AbstractFormatFiltertoString method to return the filter descriptiontoString in class AbstractFormatFilter