public abstract class AbstractItemAction extends Object implements org.eclipse.ui.IObjectActionDelegate
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Item> |
items |
protected org.eclipse.ui.IWorkbenchPage |
page |
| Constructor and Description |
|---|
AbstractItemAction(String message) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
asSecondardId(Item item) |
protected void |
clearSelection() |
protected abstract void |
processItem(Item item) |
void |
run(org.eclipse.jface.action.IAction action) |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection) |
void |
setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart) |
protected void |
showError(org.eclipse.core.runtime.MultiStatus status) |
protected final Collection<Item> items
protected org.eclipse.ui.IWorkbenchPage page
public AbstractItemAction(String message)
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
setActivePart in interface org.eclipse.ui.IObjectActionDelegateprotected abstract void processItem(Item item) throws org.eclipse.ui.PartInitException
org.eclipse.ui.PartInitExceptionpublic void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegateprotected void showError(org.eclipse.core.runtime.MultiStatus status)
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.IActionDelegateprotected void clearSelection()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.