public abstract class MasterDetailAction
extends org.eclipse.core.commands.AbstractHandler
| Constructor and Description |
|---|
MasterDetailAction() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(org.eclipse.emf.ecore.EObject object) |
String |
getImagePath() |
String |
getLabel() |
protected org.eclipse.jface.viewers.TreeViewer |
getTreeViewer()
Returns the treeviewer renderered by the tree master detail composite.
|
void |
setImagePath(String imagePath) |
void |
setLabel(String label) |
void |
setTreeViewer(org.eclipse.jface.viewers.TreeViewer treeviewer)
Sets the treeviewer of the tree master detail composite.
|
abstract boolean |
shouldShow(org.eclipse.emf.ecore.EObject eObject) |
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabledaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic abstract boolean shouldShow(org.eclipse.emf.ecore.EObject eObject)
eObject - the EObject on which to test if the action can be executedeObjectpublic abstract void execute(org.eclipse.emf.ecore.EObject object)
object - The EObject on which the action is executedpublic String getLabel()
public void setLabel(String label)
label - the label of the actionpublic String getImagePath()
public void setImagePath(String imagePath)
imagePath - the path to the imagepublic void setTreeViewer(org.eclipse.jface.viewers.TreeViewer treeviewer)
treeviewer - the treeprotected org.eclipse.jface.viewers.TreeViewer getTreeViewer()
Copyright © 2016. All rights reserved.