TPTP 4.5.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.ui.internal.action
Class AddTestSuiteChildAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by org.eclipse.ui.actions.BaseSelectionListenerAction
                  extended by org.eclipse.ui.actions.SelectionListenerAction
                      extended by org.eclipse.hyades.test.ui.internal.model.ui.AddChildAction
                          extended by org.eclipse.hyades.test.ui.internal.action.AddTestSuiteChildAction
All Implemented Interfaces:
org.eclipse.hyades.ui.util.IDisposable, org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelectionChangedListener
Direct Known Subclasses:
AddDatapoolAction, AddSUTAction, AddTestCaseAction, AddTestComponentAction

public class AddTestSuiteChildAction
extends AddChildAction


Field Summary
protected static int SIZING_WIZARD_HEIGHT
          The wizard dialog height
protected static int SIZING_WIZARD_WIDTH
          The wizard dialog width
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
AddTestSuiteChildAction(java.lang.String text)
          Constructor for AddTestSuiteChildAction
 
Method Summary
protected  org.eclipse.hyades.models.common.testprofile.TPFTestSuite getTestSuite(org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
          Returns the test suite associated with the first element of the structured selection or null.
protected  void openWizard(org.eclipse.hyades.models.common.testprofile.TPFTestSuite testSuite, org.eclipse.hyades.ui.internal.wizard.HyadesWizard hyadesWizard, java.lang.String settingsTag)
           
 void setTestSuite(org.eclipse.hyades.models.common.testprofile.TPFTestSuite testSuite)
          Sets the default test suite that is returned by getTestSuite(IStructuredSelection).
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.model.ui.AddChildAction
actionPerformed, dispose, getParent, setActionPerformed, setParent
 
Methods inherited from class org.eclipse.ui.actions.SelectionListenerAction
clearCache, getSelectedNonResources, getSelectedResources, resourceIsType, selectionIsOfType
 
Methods inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction
getStructuredSelection, runWithEvent, selectionChanged, selectionChanged, updateSelection
 
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, run, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Field Detail

SIZING_WIZARD_WIDTH

protected static final int SIZING_WIZARD_WIDTH
The wizard dialog width

See Also:
Constant Field Values

SIZING_WIZARD_HEIGHT

protected static final int SIZING_WIZARD_HEIGHT
The wizard dialog height

See Also:
Constant Field Values
Constructor Detail

AddTestSuiteChildAction

public AddTestSuiteChildAction(java.lang.String text)
Constructor for AddTestSuiteChildAction

Parameters:
text -
Method Detail

openWizard

protected void openWizard(org.eclipse.hyades.models.common.testprofile.TPFTestSuite testSuite,
                          org.eclipse.hyades.ui.internal.wizard.HyadesWizard hyadesWizard,
                          java.lang.String settingsTag)

setTestSuite

public void setTestSuite(org.eclipse.hyades.models.common.testprofile.TPFTestSuite testSuite)
Sets the default test suite that is returned by getTestSuite(IStructuredSelection). If null then the selection is analysed in order to identify the test suite.

Parameters:
testSuite -

getTestSuite

protected org.eclipse.hyades.models.common.testprofile.TPFTestSuite getTestSuite(org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
Returns the test suite associated with the first element of the structured selection or null.

Parameters:
structuredSelection -
Returns:
TPFTestSuite

TPTP 4.5.0 Testing Tools Project
Internal API Specification