public abstract class ECPTreeViewAction extends Object implements ECPAction
ECPAction
implementation is specific for a TreeViewer. The action will be initialized with the
TreeViewer
, the current TreeEditor
and the current TreeSelection
.Constructor and Description |
---|
ECPTreeViewAction() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.custom.TreeEditor |
getTreeEditor()
Current
TreeEditor . |
protected org.eclipse.jface.viewers.TreeSelection |
getTreeSelection()
Current
TreeSelection . |
protected org.eclipse.jface.viewers.TreeViewer |
getTreeViewer()
The
TreeViewer showing this action. |
void |
init(org.eclipse.jface.viewers.TreeViewer treeViewer,
org.eclipse.jface.viewers.TreeSelection treeSelection,
org.eclipse.swt.custom.TreeEditor treeEditor)
Initialize the tree action.
|
public final void init(org.eclipse.jface.viewers.TreeViewer treeViewer, org.eclipse.jface.viewers.TreeSelection treeSelection, org.eclipse.swt.custom.TreeEditor treeEditor)
treeViewer
- the TreeViewer
showing this actiontreeSelection
- the current TreeSelection
treeEditor
- the current TreeEditor
protected org.eclipse.jface.viewers.TreeViewer getTreeViewer()
TreeViewer
showing this action.TreeViewer
protected org.eclipse.jface.viewers.TreeSelection getTreeSelection()
TreeSelection
.TreeSelection
protected org.eclipse.swt.custom.TreeEditor getTreeEditor()
TreeEditor
.TreeEditor
Copyright © 2016. All rights reserved.