org.eclipse.cdt.internal.ui.cview
Class OpenFileGroup

java.lang.Object
  extended by org.eclipse.ui.actions.ActionGroup
      extended by org.eclipse.cdt.internal.ui.cview.CViewActionGroup
          extended by org.eclipse.cdt.internal.ui.cview.OpenFileGroup

public class OpenFileGroup
extends CViewActionGroup

This is the action group for the open actions.


Constructor Summary
OpenFileGroup(CView cview)
           
 
Method Summary
 void fillActionBars(org.eclipse.ui.IActionBars actionBars)
           
 void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
          Called when the context menu is about to open.
 void runDefaultAction(org.eclipse.jface.viewers.IStructuredSelection selection)
          Runs the default action (open file).
 void updateActionBars()
           
 
Methods inherited from class org.eclipse.cdt.internal.ui.cview.CViewActionGroup
getCView, handleKeyPressed, handleKeyReleased, restoreFilterAndSorterState, saveFilterAndSorterState
 
Methods inherited from class org.eclipse.ui.actions.ActionGroup
dispose, getContext, setContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenFileGroup

public OpenFileGroup(CView cview)
Method Detail

fillContextMenu

public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Description copied from class: CViewActionGroup
Called when the context menu is about to open. Override to add your own context dependent menu contributions.

Specified by:
fillContextMenu in class CViewActionGroup

fillActionBars

public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
Specified by:
fillActionBars in class CViewActionGroup

updateActionBars

public void updateActionBars()
Specified by:
updateActionBars in class CViewActionGroup

runDefaultAction

public void runDefaultAction(org.eclipse.jface.viewers.IStructuredSelection selection)
Runs the default action (open file).

Overrides:
runDefaultAction in class CViewActionGroup
Parameters:
selection - the current selection