public class AddRootBottomAction extends CommandAction
action, collection, command, editingDomain, editorPart, workbenchPart| Constructor and Description |
|---|
AddRootBottomAction() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<?> |
getBottomsToAdd()
This method should be overriden with a domain-specific implementation
that returns the inputs to be added, e.g., by querying the user with a dialog.
|
void |
run(IAction action)
The action must have been enabled for this to have been called,
so we must have stored the selection already by this point.
|
void |
selectionChanged(IAction action,
ISelection selection)
This action ignores the selection.
|
void |
setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
This records the specified workbench part, and if it is an editing domain provider, its editing domain.
|
createActionCommand, dispose, getDefaultImageDescriptor, init, init, objectToImageDescriptor, runWithEvent, setActiveEditorprotected java.util.Collection<?> getBottomsToAdd()
public void selectionChanged(IAction action,
ISelection selection)
selectionChanged in class CommandActionpublic void run(IAction action)
CommandActionrun in class CommandActionpublic void setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
CommandActionsetActiveWorkbenchPart in class CommandAction