|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.exec.WorkDirChooseTool.ExecModelStub
public static class WorkDirChooseTool.ExecModelStub
The class is used by WorkDirChooseTool to interact with those, who use WorkDirChooseTool to open or create work dir. The class does nothing but remembers the methods were invoked. An instance should be passed to the WorkDirChooseTool via setExecMode() method before activating. When dialog has disappeared, the instance will be filled with chosen work dir.
Constructor Summary | |
---|---|
WorkDirChooseTool.ExecModelStub(TestSuite ts,
ContextManager cm)
|
Method Summary | |
---|---|
void |
configure()
Causes a series of actions to be performed to complete configuration. |
TestResultTable |
getActiveTestResultTable()
Get the test result table currently in use for display. |
ContextManager |
getContextManager()
|
ExecToolManager |
getExecToolManager()
|
FilterConfig |
getFilterConfig()
|
InterviewParameters |
getInterviewParameters()
|
TestSuite |
getTestSuite()
|
WorkDirectory |
getWorkDirectory()
|
boolean |
isConfiguring()
Returns true if the model is in the configuration stage, user is either selecting work directory or editing configuration. |
boolean |
isShowConfigEditor()
|
void |
print(java.awt.print.Printable p)
|
void |
printSetup()
|
void |
runTests(java.lang.String[] urls)
Run specified tests. |
void |
setWorkDir(WorkDirectory wd,
boolean addToFileHistory)
|
void |
showConfigEditor(boolean runTestsWhenDone)
Show the configuration editor for this tool, and optionally run the tests defined by the configuration when the editor is closed. |
void |
showMessage(java.util.ResourceBundle msgs,
java.lang.String key)
|
void |
showTemplateEditor()
Show the configuration editor for this tool with current template |
void |
showWorkDirDialog(boolean allowTemplates)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkDirChooseTool.ExecModelStub(TestSuite ts, ContextManager cm)
Method Detail |
---|
public TestSuite getTestSuite()
getTestSuite
in interface ExecModel
public WorkDirectory getWorkDirectory()
getWorkDirectory
in interface ExecModel
public InterviewParameters getInterviewParameters()
getInterviewParameters
in interface ExecModel
public FilterConfig getFilterConfig()
getFilterConfig
in interface ExecModel
public ContextManager getContextManager()
getContextManager
in interface ExecModel
public TestResultTable getActiveTestResultTable()
ExecModel
getActiveTestResultTable
in interface ExecModel
public void showWorkDirDialog(boolean allowTemplates)
showWorkDirDialog
in interface ExecModel
public void configure()
ExecModel
configure
in interface ExecModel
public boolean isConfiguring()
ExecModel
isConfiguring
in interface ExecModel
public void showConfigEditor(boolean runTestsWhenDone)
ExecModel
showConfigEditor
in interface ExecModel
runTestsWhenDone
- true if the tests should automatically
be run when the user closes the configuration editor,
and false otherwise.public boolean isShowConfigEditor()
public void showTemplateEditor()
ExecModel
showTemplateEditor
in interface ExecModel
public void runTests(java.lang.String[] urls)
ExecModel
runTests
in interface ExecModel
urls
- These names may either be paths to folders or test names.
Empty string value in the array indicates that the whole test suite
should be run.public void showMessage(java.util.ResourceBundle msgs, java.lang.String key)
showMessage
in interface ExecModel
public void printSetup()
printSetup
in interface ExecModel
public void print(java.awt.print.Printable p)
print
in interface ExecModel
public void setWorkDir(WorkDirectory wd, boolean addToFileHistory) throws Interview.Fault, TestSuite.Fault
setWorkDir
in interface ExecModel
Interview.Fault
TestSuite.Fault
public ExecToolManager getExecToolManager()
getExecToolManager
in interface ExecModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |