com.ibm.carma.ui.action
Class NewContainerDelegate

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.CreateObjectActionDelegate
              extended by com.ibm.carma.ui.action.NewContainerDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IViewActionDelegate

public class NewContainerDelegate
extends CreateObjectActionDelegate

Action which opens a CARMANewContainerWizard.

This Class is not intended to be subclassed, but may be instantiated.

Since:
7.0

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
NewContainerDelegate()
           
 
Method Summary
 java.lang.String getActionIdentifier()
          Implementers should return the action identifier that is associated with the delegate.
 void run(org.eclipse.jface.action.IAction action)
           
 
Methods inherited from class com.ibm.carma.ui.action.CreateObjectActionDelegate
getParentContainer, selectionChanged
 
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

NewContainerDelegate

public NewContainerDelegate()
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

getActionIdentifier

public java.lang.String getActionIdentifier()
Description copied from class: CreateObjectActionDelegate
Implementers should return the action identifier that is associated with the delegate. The action Id is used to determine if the action is enabled or not on the selected elements

Specified by:
getActionIdentifier in class CreateObjectActionDelegate
Returns:
the action identifier for CARMA action the delegate performs