public abstract class AbstractItemAction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Collection<Item> |
items |
protected IWorkbenchPage |
page |
| Constructor and Description |
|---|
AbstractItemAction(java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
asSecondardId(Item item) |
protected void |
clearSelection() |
protected abstract void |
processItem(Item item) |
void |
run(IAction action) |
void |
selectionChanged(IAction action,
ISelection selection) |
void |
setActivePart(IAction action,
IWorkbenchPart targetPart) |
protected void |
showError(MultiStatus status) |
protected final java.util.Collection<Item> items
protected IWorkbenchPage page
public void setActivePart(IAction action,
IWorkbenchPart targetPart)
protected abstract void processItem(Item item) throws PartInitException
PartInitExceptionpublic void run(IAction action)
protected void showError(MultiStatus status)
protected java.lang.String asSecondardId(Item item)
public void selectionChanged(IAction action,
ISelection selection)
protected void clearSelection()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0