|
||||||||||
| 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 ExecModelpublic WorkDirectory getWorkDirectory()
getWorkDirectory in interface ExecModelpublic InterviewParameters getInterviewParameters()
getInterviewParameters in interface ExecModelpublic FilterConfig getFilterConfig()
getFilterConfig in interface ExecModelpublic ContextManager getContextManager()
getContextManager in interface ExecModelpublic TestResultTable getActiveTestResultTable()
ExecModel
getActiveTestResultTable in interface ExecModelpublic void showWorkDirDialog(boolean allowTemplates)
showWorkDirDialog in interface ExecModelpublic void configure()
ExecModel
configure in interface ExecModelpublic boolean isConfiguring()
ExecModel
isConfiguring in interface ExecModelpublic void showConfigEditor(boolean runTestsWhenDone)
ExecModel
showConfigEditor in interface ExecModelrunTestsWhenDone - 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 ExecModelpublic void runTests(java.lang.String[] urls)
ExecModel
runTests in interface ExecModelurls - 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 ExecModelpublic void printSetup()
printSetup in interface ExecModelpublic 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 ExecModelInterview.Fault
TestSuite.Faultpublic ExecToolManager getExecToolManager()
getExecToolManager in interface ExecModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||