com.ibm.carma.ui.action.custom
Class CarmaCustomActionMenuDelegate
java.lang.Object
org.eclipse.ui.actions.ActionDelegate
com.ibm.carma.ui.action.CarmaObjectActionDelegate
com.ibm.carma.ui.action.custom.CarmaCustomActionMenuDelegate
- All Implemented Interfaces:
- org.eclipse.jface.action.IMenuCreator, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IViewActionDelegate
public class CarmaCustomActionMenuDelegate
- extends CarmaObjectActionDelegate
- implements org.eclipse.jface.action.IMenuCreator
This Class is the delegate for creating the Custom Action Menu for CARMAResources.
This Class is not intended to be subclassed or instantiated.
- See Also:
CarmaCustomActionRegistry
|
Field Summary |
static java.lang.String |
COPYRIGHT
|
|
Method Summary |
void |
dispose()
|
org.eclipse.swt.widgets.Menu |
getMenu(org.eclipse.swt.widgets.Control parent)
|
org.eclipse.swt.widgets.Menu |
getMenu(org.eclipse.swt.widgets.Menu parent)
|
void |
run(org.eclipse.jface.action.IAction action)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
| Methods inherited from class org.eclipse.ui.actions.ActionDelegate |
init, runWithEvent |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
CarmaCustomActionMenuDelegate
public CarmaCustomActionMenuDelegate()
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)
- Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate- Overrides:
selectionChanged in class CarmaObjectActionDelegate
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.jface.action.IMenuCreator- Specified by:
dispose in interface org.eclipse.ui.IActionDelegate2- Overrides:
dispose in class org.eclipse.ui.actions.ActionDelegate
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
- Specified by:
getMenu in interface org.eclipse.jface.action.IMenuCreator
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)
- Specified by:
getMenu in interface org.eclipse.jface.action.IMenuCreator