org.eclipse.emf.ecp.view.spi.categorization.swt
Class ECPTreeViewAction

java.lang.Object
  extended by org.eclipse.emf.ecp.view.spi.categorization.swt.ECPTreeViewAction
All Implemented Interfaces:
ECPAction

public abstract class ECPTreeViewAction
extends Object
implements ECPAction

This ECPAction implementation is specific for a TreeViewer. The action will be initialized with the TreeViewer, the current TreeEditor and the current TreeSelection.

Author:
Eugen Neufeld

Constructor Summary
ECPTreeViewAction()
           
 
Method Summary
 void init(org.eclipse.jface.viewers.TreeViewer treeViewer, org.eclipse.jface.viewers.TreeSelection treeSelection, org.eclipse.swt.custom.TreeEditor treeEditor)
          Initialize the tree action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecp.view.spi.categorization.model.ECPAction
execute
 

Constructor Detail

ECPTreeViewAction

public ECPTreeViewAction()
Method Detail

init

public final void init(org.eclipse.jface.viewers.TreeViewer treeViewer,
                       org.eclipse.jface.viewers.TreeSelection treeSelection,
                       org.eclipse.swt.custom.TreeEditor treeEditor)
Initialize the tree action.

Parameters:
treeViewer - the TreeViewer showing this action
treeSelection - the current TreeSelection
treeEditor - the current TreeEditor


Copyright © 2014. All Rights Reserved.