public class ExecToolManager extends ToolManager implements QSW_Listener
test manager
windows.ToolManager.Fault
i18n
Constructor and Description |
---|
ExecToolManager(Desktop desktop)
Create an ExecManager to manage the test manager windows on a desktop.
|
Modifier and Type | Method and Description |
---|---|
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() |
PreferencesPane |
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.
|
createIcon, getDesktop, getFileMenuSecondaries
public ExecToolManager(Desktop desktop)
desktop
- the desktop for which this manager is responsiblepublic 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 PreferencesPane 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
displayedpublic Tool restoreTool(java.util.Map m) throws ToolManager.Fault
ToolManager
restoreTool
in class ToolManager
m
- a map containing the previously saved informationToolManager.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 withInterview.Fault
- if there is a problem initializing
the test suite interview parametersTestSuite.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 openInterview.Fault
- if there is a problem initializing
the test suite interview parametersTestSuite.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()
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.