org.drools.eclipse.menu
Class RuleHelperActionDelegate

java.lang.Object
  extended by org.drools.eclipse.menu.RuleHelperActionDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate, org.eclipse.ui.IWorkbenchWindowPulldownDelegate

public class RuleHelperActionDelegate
extends Object
implements org.eclipse.ui.IWorkbenchWindowPulldownDelegate

Menu driver for launching wizards etc from the top level toolbar. More can be added to this as needed.


Constructor Summary
RuleHelperActionDelegate()
           
 
Method Summary
 void dispose()
           
 org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
          Return a menu which launches the various wizards
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleHelperActionDelegate

public RuleHelperActionDelegate()
Method Detail

getMenu

public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
Return a menu which launches the various wizards

Specified by:
getMenu in interface org.eclipse.ui.IWorkbenchWindowPulldownDelegate

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

run

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

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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.