Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor
Class SystemEditorContextContributor

java.lang.Object
  extended by LpexContextContributor
      extended by com.ibm.etools.systems.editor.SystemEditorContextContributor

public class SystemEditorContextContributor
extends LpexContextContributor


Field Summary
protected  IMenuManager _menuManager
           
protected  IToolBarManager _toolBarManager
           
static String Copyright
           
 
Constructor Summary
SystemEditorContextContributor()
          Constructor for SystemEditorContextContributor
 
Method Summary
 void contributeToMenu(IMenuManager menuManager)
          Saves the menu manager until the active editor is set.
 void contributeToToolBar(IToolBarManager toolBarManager)
          Saves the tool bar manager until the active editor is set.
 void dispose()
          Cleanup menu bar and tool bar (defect 77249) https://cs.opensource.ibm.com/tracker/index.php?func=detail&aid=77249
 void phaseComplete(int phase)
           
 void setActiveEditor(IEditorPart editorPart)
          Determines whether the editor's parser implements a specific interface which allows the parser to contribute to the editor's menu bar and tool bar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

_menuManager

protected IMenuManager _menuManager

_toolBarManager

protected IToolBarManager _toolBarManager
Constructor Detail

SystemEditorContextContributor

public SystemEditorContextContributor()
Constructor for SystemEditorContextContributor

Method Detail

contributeToMenu

public void contributeToMenu(IMenuManager menuManager)
Saves the menu manager until the active editor is set.


contributeToToolBar

public void contributeToToolBar(IToolBarManager toolBarManager)
Saves the tool bar manager until the active editor is set.


setActiveEditor

public void setActiveEditor(IEditorPart editorPart)
Determines whether the editor's parser implements a specific interface which allows the parser to contribute to the editor's menu bar and tool bar. If so, the parser is asked to contribute.


phaseComplete

public void phaseComplete(int phase)

dispose

public void dispose()
Cleanup menu bar and tool bar (defect 77249) https://cs.opensource.ibm.com/tracker/index.php?func=detail&aid=77249


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.