com.ibm.jdg2e.msseditor.ui.actions
Class MiniSSEditorActionBarContributor

java.lang.Object
  extended byorg.eclipse.ui.part.EditorActionBarContributor
      extended bycom.ibm.jdg2e.msseditor.ui.actions.MiniSSEditorActionBarContributor
All Implemented Interfaces:
org.eclipse.ui.IEditorActionBarContributor, org.eclipse.jface.viewers.ISelectionChangedListener

public class MiniSSEditorActionBarContributor
extends org.eclipse.ui.part.EditorActionBarContributor
implements org.eclipse.jface.viewers.ISelectionChangedListener

Coordinate the addition of actions on behalf the mini-spreadsheet editor.


Field Summary
protected  java.util.ArrayList actions
           
 
Constructor Summary
MiniSSEditorActionBarContributor()
           
 
Method Summary
 void contributeToMenu(org.eclipse.jface.action.IMenuManager menuManager)
           
 void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
           
protected  void createActions()
           
 void dispose()
           
 void init(org.eclipse.ui.IActionBars bars, org.eclipse.ui.IWorkbenchPage page)
           
 void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
           
 void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
           
 
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor
contributeToCoolBar, contributeToStatusLine, getActionBars, getPage, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actions

protected java.util.ArrayList actions
Constructor Detail

MiniSSEditorActionBarContributor

public MiniSSEditorActionBarContributor()
Method Detail

contributeToMenu

public void contributeToMenu(org.eclipse.jface.action.IMenuManager menuManager)

contributeToToolBar

public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
See Also:
EditorActionBarContributor.contributeToToolBar(IToolBarManager)

createActions

protected void createActions()

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IEditorActionBarContributor
See Also:
IEditorActionBarContributor.dispose()

init

public void init(org.eclipse.ui.IActionBars bars,
                 org.eclipse.ui.IWorkbenchPage page)
Specified by:
init in interface org.eclipse.ui.IEditorActionBarContributor
See Also:
EditorActionBarContributor.init(IActionBars, IWorkbenchPage)

selectionChanged

public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Specified by:
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
See Also:
ISelectionChangedListener.selectionChanged(SelectionChangedEvent)

setActiveEditor

public void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionBarContributor
See Also:
EditorActionBarContributor.setActiveEditor(IEditorPart)