public class AutoDetectPaths extends AbstractWorker
Constructor and Description |
---|
AutoDetectPaths(javax.swing.JDialog parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
autoDetectPaths() |
boolean |
cancelled() |
static boolean |
checkAutoDetectedPaths() |
java.io.File |
findFileDir(java.io.File startDir,
java.lang.String filename)
Search for a file, starting at the given directory.
|
boolean |
getResult() |
void |
init() |
void |
run() |
boolean |
runAutodetection() |
javax.swing.JDialog |
showProgressDialog(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
boolean includeCancelButton) |
void |
update()
Empty implementation of the update() method.
|
getCallBack, getWorker
public boolean runAutodetection()
public void run()
public boolean getResult()
public boolean cancelled()
public void init() throws java.lang.Throwable
init
in class AbstractWorker
java.lang.Throwable
public void update()
AbstractWorker
update
in interface CallBack
update
in class AbstractWorker
public boolean autoDetectPaths()
public static boolean checkAutoDetectedPaths()
public java.io.File findFileDir(java.io.File startDir, java.lang.String filename)
startDir
- The starting point.filename
- The name of the file to search for.public javax.swing.JDialog showProgressDialog(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, boolean includeCancelButton)