com.ibm.etools.systems.editor.actions
Class CompileMenuManager
java.lang.Object
MenuManager
com.ibm.etools.systems.editor.actions.CompileMenuManager
public class CompileMenuManager
- extends MenuManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompileMenuManager
public CompileMenuManager(String text,
String id,
ITextEditor editor)
contributeCompileMenuItems
public void contributeCompileMenuItems()
- Method contributeCompileMenuItems.
Add the menu items to the compile menu
- Parameters:
editor
- the editor that the source is open inmenuCompile
- 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()
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.