public class GTSChooser
extends java.lang.Object
implements java.beans.PropertyChangeListener
Constructor and Description |
---|
GTSChooser()
Creates a new SystemChooser instance.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getCurrentDirectory()
Returns the current directory of the file chooser.
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
Called when a property of the JFileChooser changes.
|
void |
setCurrentDirectory(java.io.File dir)
Sets the current directory of the file chooser.
|
de.uni_due.inf.ti.graph.TransformationSystem |
showDialog(java.awt.Component parent)
Shows the dialog.
|
public void setCurrentDirectory(java.io.File dir)
dir
- the new current directorypublic java.io.File getCurrentDirectory()
public de.uni_due.inf.ti.graph.TransformationSystem showDialog(java.awt.Component parent)
null
if no transformation system was chosen or
an error occurred.parent
- parent component of the dialognull
if
no system was selected or an error occurredpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener