com.ibm.carma.ui.action
Class ExtractDelegate

java.lang.Object
  extended by org.eclipse.ui.actions.ActionDelegate
      extended by com.ibm.carma.ui.action.CarmaObjectActionDelegate
          extended by com.ibm.carma.ui.action.ExtractDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IViewActionDelegate

public class ExtractDelegate
extends CarmaObjectActionDelegate

Action opens an ExtractWizard to allow the user to extract selected CARMA hierarchy content to a new IProject.

This class is not intended to be subclassed or instantiated


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.carma.ui.action.CarmaObjectActionDelegate
CarmaObjectActionDelegate.CarmaAction
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ExtractDelegate()
           
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          Limits action enablement to ResourceContainer selections
 
Methods inherited from class com.ibm.carma.ui.action.CarmaObjectActionDelegate
getBasicSelectedCarmaResources, getSelectedCarmaReferences, getSelectedCarmaResources, getSelection, getShell, getTargetPart, init, isUnsupported, isUnsupported, setActivePart
 
Methods inherited from class org.eclipse.ui.actions.ActionDelegate
dispose, init, runWithEvent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ExtractDelegate

public ExtractDelegate()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
Overrides:
run in class org.eclipse.ui.actions.ActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Limits action enablement to ResourceContainer selections

Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
Overrides:
selectionChanged in class CarmaObjectActionDelegate
See Also:
CarmaObjectActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)