com.sun.javatest.exec
public static class WorkDirChooseTool.ExecModelStub extends java.lang.Object implements ExecModel
Constructor and Description |
---|
WorkDirChooseTool.ExecModelStub(TestSuite ts,
ContextManager cm) |
Modifier and Type | Method and Description |
---|---|
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) |
public WorkDirChooseTool.ExecModelStub(TestSuite ts, ContextManager cm)
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
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
public void showMessage(java.util.ResourceBundle msgs, java.lang.String key)
showMessage
in interface ExecModel
public void printSetup()
printSetup
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
Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.