public class AddNodeTreeAction extends AbstractTreeAction
Action
for adding
TreeComposite
s to a selected TreeComposite
based on the
latter's list of child exemplars.AbstractTreeAction
Constructor and Description |
---|
AddNodeTreeAction()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
If the
Action can be run, this prompts the user to add a new
TreeComposite to the currently selected tree node from its
list of child exemplar TreeComposite s. |
selectionChanged, setPartId
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, removePropertyChangeListener
public void run()
Action
can be run, this prompts the user to add a new
TreeComposite
to the currently selected tree node from its
list of child exemplar TreeComposite
s.run
in interface org.eclipse.jface.action.IAction
run
in class AbstractTreeAction