|
||||||||||
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 | |
---|---|
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. |
Tool |
restoreTool(java.util.Map m)
Restore a tool from previously saved information. |
ExecTool |
showTestSuite(TestSuite ts)
Create an ExecTool instance using the given test suite. |
ExecTool |
showWorkDirectory(WorkDirectory wd)
Create an ExecTool instance using the given work directory. |
Tool |
startTool()
Start a default instance of a tool. |
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 Tool startTool()
ToolManager
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 toolpublic 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 objectpublic 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 object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |