Package eu.simuline.testhelpers
Class GUIRunner.ClassChooser
- java.lang.Object
-
- eu.simuline.testhelpers.GUIRunner.ClassChooser
-
- Enclosing class:
- GUIRunner
class GUIRunner.ClassChooser extends java.lang.Object
Provides a method to choose a test class. This is triggered by clicking on the 'open' icon in the enclosing GUIRunner. Class ClassChooser is based on theJFileChooser
clsFileChooser
It is not static because of its access toGUIRunner.frame
.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JFileChooser
clsFileChooser
File chooser for class files representing test classes.private eu.simuline.util.JavaPath
clsPath
The class path for test classes.
-
Constructor Summary
Constructors Constructor Description ClassChooser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
getChosenClass()
Opens the class chooser dialog and returns the choosen class ornull
if either no file was selected, a file is selected which does not exist or does not represent a java class file.
-