modesteditor.core
Class ModestActionContributor

java.lang.Object
  extended by org.eclipse.ui.part.EditorActionBarContributor
      extended by org.eclipse.ui.texteditor.BasicTextEditorActionContributor
          extended by org.eclipse.ui.editors.text.TextEditorActionContributor
              extended by modesteditor.core.ModestActionContributor
All Implemented Interfaces:
org.eclipse.ui.IEditorActionBarContributor

public class ModestActionContributor
extends org.eclipse.ui.editors.text.TextEditorActionContributor

Contributes MoDeST actions to the desktop's Edit menu and the toolbar.


Field Summary
protected  org.eclipse.ui.texteditor.RetargetTextEditorAction fContentAssistProposal
           
protected  org.eclipse.ui.texteditor.RetargetTextEditorAction fContentAssistTip
           
protected  org.eclipse.ui.texteditor.TextEditorAction simulationAction
           
 
Constructor Summary
ModestActionContributor()
          Default constructor.
 
Method Summary
 void dispose()
          Removes the active editor and calls dispose from the superclass.
 void init(org.eclipse.ui.IActionBars bars)
           
 void setActiveEditor(org.eclipse.ui.IEditorPart part)
           
 
Methods inherited from class org.eclipse.ui.texteditor.BasicTextEditorActionContributor
contributeToMenu, contributeToStatusLine, getAction, getActiveEditorPart
 
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor
contributeToCoolBar, contributeToToolBar, getActionBars, getPage, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fContentAssistProposal

protected org.eclipse.ui.texteditor.RetargetTextEditorAction fContentAssistProposal

fContentAssistTip

protected org.eclipse.ui.texteditor.RetargetTextEditorAction fContentAssistTip

simulationAction

protected org.eclipse.ui.texteditor.TextEditorAction simulationAction
Constructor Detail

ModestActionContributor

public ModestActionContributor()
Default constructor. Creates the action which does the content assistance.

Method Detail

init

public void init(org.eclipse.ui.IActionBars bars)
Overrides:
init in class org.eclipse.ui.editors.text.TextEditorActionContributor

setActiveEditor

public void setActiveEditor(org.eclipse.ui.IEditorPart part)
Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionBarContributor
Overrides:
setActiveEditor in class org.eclipse.ui.editors.text.TextEditorActionContributor

dispose

public void dispose()
Removes the active editor and calls dispose from the superclass.

Specified by:
dispose in interface org.eclipse.ui.IEditorActionBarContributor
Overrides:
dispose in class org.eclipse.ui.editors.text.TextEditorActionContributor