Package com.sun.javatest.exec
Class ExecToolManager
java.lang.Object
com.sun.javatest.tool.ToolManager
com.sun.javatest.exec.ExecToolManager
- All Implemented Interfaces:
QSW_Listener
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
ConstructorsConstructorDescriptionExecToolManager
(Desktop desktop) Create an ExecManager to manage the test manager windows on a desktop. -
Method Summary
Modifier and TypeMethodDescriptionprotected ExecTool
addNewExecTool
(TestSuite ts, WorkDirectory wd, InterviewParameters ip, String errorKey) void
QSW_Listener interface methodboolean
checkOpenNewTool
(Desktop d, ContextManager conManager) void
finishQSW
(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag) QSW_Listener interface methodAction[]
Get actions for any items to appear in the main section of the desktop File menu.Get primary file menu opereations for this tool.Get handlers for any files that can be opened by this tool manager.Get details about any user preferences supported by this tool manager.Action[]
Get actions to open any windows for this tool.boolean
restoreTool
(Map<String, String> m) Restore a tool from previously saved information.void
showQSW()
To be invoked when user wants to open Quick Start WizardDeprecated.Deprecated.Shows Quick Configuration Editor if not disabledStart an ExecTool for a particular configuration.Methods inherited from class com.sun.javatest.tool.ToolManager
createIcon, getDesktop, getFileMenuSecondaries, getTaskMenuActions
-
Constructor Details
-
ExecToolManager
Create an ExecManager to manage the test manager windows on a desktop.- Parameters:
desktop
- the desktop for which this manager is responsible
-
-
Method Details
-
getFileOpeners
Description copied from class:ToolManager
Get handlers for any files that can be opened by this tool manager.- Overrides:
getFileOpeners
in classToolManager
- Returns:
- a set of handlers for files that can be opened by this tool manager, or null if none available.
-
getFileMenuActions
Description copied from class:ToolManager
Get actions for any items to appear in the main section of the desktop File menu.- Overrides:
getFileMenuActions
in classToolManager
- Returns:
- an array of Actions to appear on the File menu, or null if none are required.
-
getFileMenuPrimaries
Description copied from class:ToolManager
Get primary file menu opereations for this tool. These are placed after the actions. They will be shown in the order given in the array. There are none provided by default (null).- Overrides:
getFileMenuPrimaries
in classToolManager
- Returns:
- Array of menu items to be shown for this tool. Nill if none.
- See Also:
-
getHelpPrimaryMenus
- Overrides:
getHelpPrimaryMenus
in classToolManager
-
getHelpTestSuiteMenus
- Overrides:
getHelpTestSuiteMenus
in classToolManager
-
getHelpAboutMenus
- Overrides:
getHelpAboutMenus
in classToolManager
-
getWindowOpenMenuActions
Description copied from class:ToolManager
Get actions to open any windows for this tool.- Overrides:
getWindowOpenMenuActions
in classToolManager
- Returns:
- an array of Actions that open windows for this tool, or null if none are required.
-
getPrefsPane
Description copied from class:ToolManager
Get details about any user preferences supported by this tool manager.- Overrides:
getPrefsPane
in classToolManager
- Returns:
- an object to handle preferences supported by this tool manager, or null if no preferences are supported.
-
checkOpenNewTool
-
startTool
Shows Quick Configuration Editor if not disabled- Specified by:
startTool
in classToolManager
- Returns:
- null
-
startTool
Start an ExecTool for a particular configuration.- Parameters:
p
- the configuration defining the tests and test results to be displayed- Returns:
- the tool created to show the tests and test results specified by the configuration
-
restoreTool
Description copied from class:ToolManager
Restore a tool from previously saved information.- Specified by:
restoreTool
in classToolManager
- Parameters:
m
- a map containing the previously saved information- Returns:
- the tool that was started
- Throws:
ToolManager.Fault
- if there is a problem restoring the tool
-
showTestSuite
Deprecated.Create an ExecTool instance using the given test suite.- Parameters:
ts
- the test suite to seed the new tool with- Returns:
- tool instance now associated with the given test suite
-
showWorkDirectory
Deprecated.Create an ExecTool instance using the given work directory.- Parameters:
wd
- the work directory to open- Returns:
- tool instance now associated with the given work directory
-
addNewExecTool
protected ExecTool addNewExecTool(TestSuite ts, WorkDirectory wd, InterviewParameters ip, String errorKey) -
finishQSW
public void finishQSW(TestSuite ts, WorkDirectory wd, InterviewParameters ip, boolean showConfigEditorFlag, boolean runTestsFlag) QSW_Listener interface method- Specified by:
finishQSW
in interfaceQSW_Listener
- Parameters:
ts
-wd
-ip
-showConfigEditorFlag
-runTestsFlag
-
-
cancelQSW
public void cancelQSW()QSW_Listener interface method- Specified by:
cancelQSW
in interfaceQSW_Listener
-
showQSW
public void showQSW()To be invoked when user wants to open Quick Start Wizard -
isQuickStartWizardActive
public boolean isQuickStartWizardActive()
-