net.refractions.udig.project.ui
Class UDIGGenericAction

java.lang.Object
  extended by WorkbenchWindowActionDelegate
      extended by net.refractions.udig.project.ui.UDIGGenericAction

public abstract class UDIGGenericAction
extends WorkbenchWindowActionDelegate

Calls implemented operate method on the each element of selection

Since:
0.6.0
Author:
jeichar
See Also:
Rename

Constructor Summary
UDIGGenericAction()
           
 
Method Summary
protected  void operate(Feature feature)
          Operates on a Feature.
 void run(IAction action)
           
 void selectionChanged(IAction action, ISelection selection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDIGGenericAction

public UDIGGenericAction()
Method Detail

run

public void run(IAction action)
See Also:
org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)

operate

protected void operate(Feature feature)
Operates on a Feature. Default Implementation does nothing.

Parameters:
feature -

selectionChanged

public void selectionChanged(IAction action,
                             ISelection selection)
See Also:
org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)