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.IWorkbenchWindowActionDelegate
public void run(org.eclipse.jface.action.IAction action)
run
in interface org.eclipse.ui.IActionDelegate
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.IActionDelegate
public 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.IExecutableExtension
org.eclipse.core.runtime.CoreException
public void init(org.eclipse.ui.IWorkbenchWindow window)
init
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
public void init(org.eclipse.ui.IViewPart view)
init
in interface org.eclipse.ui.IViewActionDelegate
public void setActiveEditor(org.eclipse.jface.action.IAction action, org.eclipse.ui.IEditorPart targetEditor)
setActiveEditor
in interface org.eclipse.ui.IEditorActionDelegate
public void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
setActivePart
in interface org.eclipse.ui.IObjectActionDelegate
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.