|
TPTP 4.5.0 Testing Tools Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.ui.actions.BaseSelectionListenerAction
org.eclipse.ui.actions.SelectionListenerAction
org.eclipse.hyades.test.ui.internal.model.ui.AddChildAction
public class AddChildAction
| Field Summary |
|---|
| 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 | |
|---|---|
AddChildAction(org.eclipse.emf.ecore.EClassifier parentClassifier,
java.lang.String text)
Constructor for AddTestSuiteChildAction |
|
| Method Summary | |
|---|---|
boolean |
actionPerformed()
Returns whether the most recent wizard has being completed or canceled. |
void |
dispose()
|
protected org.eclipse.emf.ecore.EObject |
getParent(org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
Returns the parent associated with the first element of the structured selection or null. |
protected void |
setActionPerformed(boolean actionPerformed)
|
void |
setParent(org.eclipse.emf.ecore.EObject parent)
Sets the default parent EObject that is returned by getParent(IStructuredSelection). |
| 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 |
| Constructor Detail |
|---|
public AddChildAction(org.eclipse.emf.ecore.EClassifier parentClassifier,
java.lang.String text)
parentClass - text - | Method Detail |
|---|
public void dispose()
dispose in interface org.eclipse.hyades.ui.util.IDisposableIDisposable.dispose()public boolean actionPerformed()
true if the wizard was completed or false if
it was canceled.protected void setActionPerformed(boolean actionPerformed)
public void setParent(org.eclipse.emf.ecore.EObject parent)
getParent(IStructuredSelection). If null then the
selection is analysed in order to identify the parent.
The parent must be an instance of the parentClassifier specified in the constructor.
parent - protected org.eclipse.emf.ecore.EObject getParent(org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
null.
structuredSelection -
|
TPTP 4.5.0 Testing Tools Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||