public class GenericCommandActionDelegate extends Object implements org.eclipse.ui.IWorkbenchWindowActionDelegate, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IObjectActionDelegate, org.eclipse.core.runtime.IExecutableExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
PARM_COMMAND_ID
The commandId parameter needed when using the <class/> form for this IActionDelegate.
|
| Constructor and Description |
|---|
GenericCommandActionDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
init(org.eclipse.ui.IViewPart view) |
void |
init(org.eclipse.ui.IWorkbenchWindow window) |
void |
run(org.eclipse.jface.action.IAction action) |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection) |
void |
setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor) |
void |
setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart) |
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
String propertyName,
Object data) |
public static final String PARM_COMMAND_ID
public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegatepublic void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegatepublic void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.IActionDelegatepublic void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
String propertyName,
Object data)
throws org.eclipse.core.runtime.CoreException
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtensionorg.eclipse.core.runtime.CoreExceptionpublic void init(org.eclipse.ui.IWorkbenchWindow window)
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegatepublic void init(org.eclipse.ui.IViewPart view)
init in interface org.eclipse.ui.IViewActionDelegatepublic void setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor)
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegatepublic void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
setActivePart in interface org.eclipse.ui.IObjectActionDelegateCopyright © 2005–2021 Eclipse Foundation. All rights reserved.