Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor.actions
Class CompileMenuManager

java.lang.Object
  extended by MenuManager
      extended by com.ibm.etools.systems.editor.actions.CompileMenuManager

public class CompileMenuManager
extends MenuManager


Constructor Summary
CompileMenuManager(String text, String id, ITextEditor editor)
           
 
Method Summary
 void contributeCompileMenuItems()
          Method contributeCompileMenuItems.
 void dispose()
           
static StructuredSelection getCompileSelectionObject(ITextEditor editor)
          Method getCompileSelectionObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompileMenuManager

public CompileMenuManager(String text,
                          String id,
                          ITextEditor editor)
Method Detail

contributeCompileMenuItems

public void contributeCompileMenuItems()
Method contributeCompileMenuItems. Add the menu items to the compile menu

Parameters:
editor - the editor that the source is open in
menuCompile - the compile menu

getCompileSelectionObject

public static StructuredSelection getCompileSelectionObject(ITextEditor editor)
Method getCompileSelectionObject. retrieves the object needed for the compile actions

Parameters:
editor - the editor that the source is open in
Returns:
StructuredSelection the selection object to pass to the compile actions

dispose

public void dispose()

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.