public abstract class MasterDetailAction
extends org.eclipse.core.commands.AbstractHandler
TreeMasterDetailComposite
.Constructor and Description |
---|
MasterDetailAction() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(List<Object> objects) |
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(List<Object> objects) |
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public abstract boolean shouldShow(List<Object> objects)
objects
- the list of objects on which to test if the action can be executedpublic abstract void execute(List<Object> objects)
objects
- The list of objects 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.