|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.tool.ToolManager
com.sun.javatest.exec.ExecToolManager
public class ExecToolManager
The ToolManager for test manager
windows.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.javatest.tool.ToolManager |
---|
ToolManager.Fault |
Field Summary |
---|
Fields inherited from class com.sun.javatest.tool.ToolManager |
---|
i18n |
Constructor Summary | |
---|---|
ExecToolManager(Desktop desktop)
Create an ExecManager to manage the test manager windows on a desktop. |
Method Summary | |
---|---|
protected ExecTool |
addNewExecTool(TestSuite ts,
WorkDirectory wd,
InterviewParameters ip,
java.lang.String errorKey)
|
void |
cancelQSW()
QSW_Listener interface method |
boolean |
checkOpenNewTool(Desktop d,
ContextManager conManager)
|
void |
finishQSW(TestSuite ts,
WorkDirectory wd,
InterviewParameters ip,
boolean showConfigEditorFlag,
boolean runTestsFlag)
QSW_Listener interface method |
javax.swing.Action[] |
getFileMenuActions()
Get actions for any items to appear in the main section of the desktop File menu. |
javax.swing.JMenuItem[] |
getFileMenuPrimaries()
Get primary file menu opereations for this tool. |
FileOpener[] |
getFileOpeners()
Get handlers for any files that can be opened by this tool manager. |
javax.swing.JMenuItem[] |
getHelpAboutMenus()
|
javax.swing.JMenuItem[] |
getHelpPrimaryMenus()
|
javax.swing.JMenuItem[] |
getHelpTestSuiteMenus()
|
Preferences.Pane |
getPrefsPane()
Get details about any user preferences supported by this tool manager. |
javax.swing.Action[] |
getTaskMenuActions()
Get actions for any items to appear in the desktop Tasks menu. |
javax.swing.Action[] |
getWindowOpenMenuActions()
Get actions to open any windows for this tool. |
boolean |
isQuickStartWizardActive()
|
Tool |
restoreTool(java.util.Map m)
Restore a tool from previously saved information. |
void |
showQSW()
To be invoked when user wants to open Quick Start Wizard |
ExecTool |
showTestSuite(TestSuite ts)
Deprecated. |
ExecTool |
showWorkDirectory(WorkDirectory wd)
Deprecated. |
Tool |
startTool()
Shows Quick Configuration Editor if not disabled |
Tool |
startTool(InterviewParameters p)
Start an ExecTool for a particular configuration. |
Methods inherited from class com.sun.javatest.tool.ToolManager |
---|
createIcon, getDesktop, getFileMenuSecondaries |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecToolManager(Desktop desktop)
desktop
- the desktop for which this manager is responsibleMethod Detail |
---|
public FileOpener[] getFileOpeners()
ToolManager
getFileOpeners
in class ToolManager
public javax.swing.Action[] getFileMenuActions()
ToolManager
getFileMenuActions
in class ToolManager
public javax.swing.JMenuItem[] getFileMenuPrimaries()
ToolManager
getFileMenuPrimaries
in class ToolManager
ToolManager.getFileMenuActions()
public javax.swing.JMenuItem[] getHelpPrimaryMenus()
getHelpPrimaryMenus
in class ToolManager
public javax.swing.JMenuItem[] getHelpTestSuiteMenus()
getHelpTestSuiteMenus
in class ToolManager
public javax.swing.JMenuItem[] getHelpAboutMenus()
getHelpAboutMenus
in class ToolManager
public javax.swing.Action[] getTaskMenuActions()
ToolManager
getTaskMenuActions
in class ToolManager
public javax.swing.Action[] getWindowOpenMenuActions()
ToolManager
getWindowOpenMenuActions
in class ToolManager
public Preferences.Pane getPrefsPane()
ToolManager
getPrefsPane
in class ToolManager
public boolean checkOpenNewTool(Desktop d, ContextManager conManager)
public Tool startTool()
startTool
in class ToolManager
public Tool startTool(InterviewParameters p)
p
- the configuration defining the tests and test results to be
displayed
public Tool restoreTool(java.util.Map m) throws ToolManager.Fault
ToolManager
restoreTool
in class ToolManager
m
- a map containing the previously saved information
ToolManager.Fault
- if there is a problem restoring the tool@Deprecated public ExecTool showTestSuite(TestSuite ts) throws Interview.Fault, TestSuite.Fault
ts
- the test suite to seed the new tool with
Interview.Fault
- if there is a problem initializing
the test suite interview parameters
TestSuite.Fault
- if there is a problem while accessing the test
suite object@Deprecated public ExecTool showWorkDirectory(WorkDirectory wd) throws Interview.Fault, TestSuite.Fault
wd
- the work directory to open
Interview.Fault
- if there is a problem initializing
the test suite interview parameters
TestSuite.Fault
- if there is a problem while accessing the test
suite objectprotected ExecTool addNewExecTool(TestSuite ts, WorkDirectory wd, InterviewParameters ip, java.lang.String errorKey)
public void finishQSW(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag)
finishQSW
in interface QSW_Listener
ts
- wd
- ip
- showConfigEditorFlag
- runTestsFlag
- public void cancelQSW()
cancelQSW
in interface QSW_Listener
public void showQSW()
public boolean isQuickStartWizardActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |