org.eclipse.xtend.shared.ui.editor.search.actions
Class SearchActionGroup

java.lang.Object
  extended by org.eclipse.ui.actions.ActionGroup
      extended by org.eclipse.xtend.shared.ui.editor.search.actions.SearchActionGroup

public class SearchActionGroup
extends org.eclipse.ui.actions.ActionGroup

Action group that adds the Xtend search actions to a context menu and the global menu bar. This class may be instantiated; it is not intended to be subclassed.


Constructor Summary
SearchActionGroup(AbstractXtendXpandEditor editor)
          Note: This constructor is for internal use only.
SearchActionGroup(org.eclipse.ui.IViewPart part)
          Creates a new SearchActionGroup.
SearchActionGroup(org.eclipse.ui.part.Page page)
          Creates a new SearchActionGroup.
 
Method Summary
 void dispose()
           
 void fillActionBars(org.eclipse.ui.IActionBars actionBar)
           
 void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
           
 void setContext(org.eclipse.ui.actions.ActionContext context)
           
 
Methods inherited from class org.eclipse.ui.actions.ActionGroup
getContext, updateActionBars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchActionGroup

public SearchActionGroup(org.eclipse.ui.IViewPart part)
Creates a new SearchActionGroup. The group requires that the selection provided by the part's selection provider is of type IStructuredSelection.

Parameters:
part - the view part that owns this action group

SearchActionGroup

public SearchActionGroup(org.eclipse.ui.part.Page page)
Creates a new SearchActionGroup. The group requires that the selection provided by the page's selection provider is of type IStructuredSelection.

Parameters:
page - the page that owns this action group

SearchActionGroup

public SearchActionGroup(AbstractXtendXpandEditor editor)
Note: This constructor is for internal use only. Clients should not call this constructor.

Parameters:
editor - the editor
Method Detail

setContext

public void setContext(org.eclipse.ui.actions.ActionContext context)
Overrides:
setContext in class org.eclipse.ui.actions.ActionGroup

fillActionBars

public void fillActionBars(org.eclipse.ui.IActionBars actionBar)
Overrides:
fillActionBars in class org.eclipse.ui.actions.ActionGroup

fillContextMenu

public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Overrides:
fillContextMenu in class org.eclipse.ui.actions.ActionGroup

dispose

public void dispose()
Overrides:
dispose in class org.eclipse.ui.actions.ActionGroup