|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.sun.javatest.tool.Tool
com.sun.javatest.exec.ExecTool
public class ExecTool
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.javatest.tool.Tool |
|---|
Tool.Observer |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.sun.javatest.tool.Tool |
|---|
uif |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ExecTool(ExecToolManager mgr,
TestSuite ts)
|
|
| Method Summary | |
|---|---|
void |
configure()
Causes a series of actions to be performed to complete configuration. |
static ContextManager |
createContextManager(TestSuite ts)
|
void |
dispose()
Release any resources this tool may be referencing. |
TestResultTable |
getActiveTestResultTable()
Get the test result table currently in use for display. |
ContextManager |
getContextManager()
|
ExecToolManager |
getExecToolManager()
|
FilterConfig |
getFilterConfig()
|
InterviewParameters |
getInterviewParameters()
|
TestSuite[] |
getLoadedTestSuites()
Get a list of any test suites that are being used by this tool. |
javax.swing.JMenuBar |
getMenuBar()
Get the menu bar for a tool. |
TestSuite |
getTestSuite()
|
protected javax.swing.JToolBar |
getToolBar()
|
UIFactory |
getUIF()
|
WorkDirectory |
getWorkDirectory()
|
protected void |
initGUI()
|
boolean |
isConfiguring()
Returns true if the model is in the configuration stage, user is either selecting work directory or editing configuration. |
boolean |
isQuickStartWizardShowing()
|
int |
order()
BasicSession.OrderedObserver interface method. |
void |
print(java.awt.print.Printable p)
|
void |
printSetup()
|
protected void |
restore(java.util.Map m)
Restore information about a tool from a map, and configure the tool according this information. |
void |
runTests()
Invoked after QSW |
void |
runTests(java.lang.String[] urls)
Run specified tests. |
protected void |
save(java.util.Map m)
Save information about a tool in a map, so that the tool can be restored in a later invocation of JT Harness. |
void |
setVisible(boolean f)
|
void |
setWorkDir(WorkDirectory wd,
boolean addToFileHistory)
|
void |
showConfigEditor()
Invoked after QSW |
void |
showConfigEditor(boolean runTests)
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 |
showQuickStartWizard()
|
void |
showTemplateEditor()
Show the configuration editor for this tool with current template |
void |
showWorkDirDialog(boolean allowTemplates)
|
void |
update(InterviewParameters ip)
Invoked when manager orders to use new ip |
void |
update(WorkDirectory wd)
Invoked when manager orders to use new wd. |
void |
updated(Session.Event e)
Session.Observer interface method |
| Methods inherited from class com.sun.javatest.tool.Tool |
|---|
addObserver, getCloseAlerts, getCreationTime, getDesktop, getHelpBroker, getLoadedWorkDirectories, getManager, getShortTitle, getTitle, getToolDialogs, removeObserver, setHelp, setHelp, setHelpOnButton, setI18NTitle, setI18NTitle, setI18NTitle, setShortTitle |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExecTool(ExecToolManager mgr,
TestSuite ts)
throws Session.Fault
Session.Fault| Method Detail |
|---|
public static ContextManager createContextManager(TestSuite ts)
public UIFactory getUIF()
public javax.swing.JMenuBar getMenuBar()
Tool
getMenuBar in class Toolprotected javax.swing.JToolBar getToolBar()
public void setVisible(boolean f)
setVisible in class javax.swing.JComponentprotected void initGUI()
protected void save(java.util.Map m)
Toolpublic static Tool restore(Map m)
which will be invoked to recreate the tool.
save in class Toolm - the map in which to store the significant state
of the toolprotected void restore(java.util.Map m)
Tool
restore in class Toolm - the map in which to store the significant state
of the toolpublic void dispose()
Tool
dispose in class Toolpublic TestSuite getTestSuite()
getTestSuite in interface ExecModelpublic TestSuite[] getLoadedTestSuites()
Tool
getLoadedTestSuites in class Toolpublic WorkDirectory getWorkDirectory()
getWorkDirectory in interface ExecModelpublic InterviewParameters getInterviewParameters()
getInterviewParameters in interface ExecModelpublic FilterConfig getFilterConfig()
getFilterConfig in interface ExecModelpublic ContextManager getContextManager()
getContextManager in interface ExecModelpublic TestResultTable getActiveTestResultTable()
ExecModel
getActiveTestResultTable in interface ExecModel
public void update(WorkDirectory wd)
throws Session.Fault
wd -
Session.Fault
public void update(InterviewParameters ip)
throws Session.Fault
ip -
Session.Faultpublic void updated(Session.Event e)
updated in interface Session.Observere - public int order()
order in interface BasicSession.OrderedObserverpublic void showWorkDirDialog(boolean allowTemplates)
showWorkDirDialog in interface ExecModelpublic void showConfigEditor(boolean runTests)
ExecModel
showConfigEditor in interface ExecModelrunTests - true if the tests should automatically
be run when the user closes the configuration editor,
and false otherwise.public void showTemplateEditor()
ExecModel
showTemplateEditor in interface ExecModelpublic void showConfigEditor()
public void runTests()
public void runTests(java.lang.String[] urls)
ExecModel
runTests in interface ExecModelurls - These names may either be paths to folders or test names.
Empty string value in the array indicates that the whole test suite
should be run.
public void showMessage(java.util.ResourceBundle msgs,
java.lang.String key)
showMessage in interface ExecModelpublic void printSetup()
printSetup in interface ExecModelpublic void print(java.awt.print.Printable p)
print in interface ExecModel
public void setWorkDir(WorkDirectory wd,
boolean addToFileHistory)
throws Interview.Fault,
TestSuite.Fault
setWorkDir in interface ExecModelInterview.Fault
TestSuite.Faultpublic void configure()
configure in interface ExecModelpublic boolean isConfiguring()
ExecModel
isConfiguring in interface ExecModelpublic ExecToolManager getExecToolManager()
getExecToolManager in interface ExecModelpublic void showQuickStartWizard()
public boolean isQuickStartWizardShowing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||