|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.editor.SystemTextEditorDefaultContextContributor
Parsers implement this interface to contribute to menu and toolbars.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
SystemTextEditorDefaultContextContributor()
|
Method Summary | |
---|---|
void |
cleanupMenu(ITextEditor editor,
IMenuManager menuManager)
Cleanup the menu bar. |
void |
cleanupPopupMenu(ITextEditor editor,
IMenuManager menuManager)
Cleanup the popup menu. |
void |
cleanupToolBar(ITextEditor editor,
IToolBarManager toolBarManager)
Cleanup the toolbar. |
static void |
contributeCompileMenuItems(ITextEditor editor,
IMenuManager menuCompile,
Shell shell)
Method contributeCompileMenuItems. |
void |
contributeToMenu(ITextEditor editor,
IMenuManager menuManager)
Contribute to the menu bar. |
void |
contributeToPopupMenu(ITextEditor editor,
IMenuManager menuManager)
Contribute to popup menu. |
void |
contributeToToolBar(ITextEditor editor,
IToolBarManager toolBarManager)
Contribute to the toolbar. |
void |
createCompileMenu(ITextEditor editor,
IMenuManager menuManager)
|
void |
finishedSaving(ITextEditor editor)
Method finishedSaving. |
static TextEditorAction |
getBaseEditorAction(ITextEditor editor,
String actionId)
Method getBaseEditorAction. |
static StructuredSelection |
getCompileSelectionObject(ITextEditor editor)
Method getCompileSelectionObject. |
static IFile |
getIFile(ITextEditor editor)
Method getIFile. |
void |
saving(ITextEditor editor)
Method saving. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public SystemTextEditorDefaultContextContributor()
Method Detail |
public void cleanupMenu(ITextEditor editor, IMenuManager menuManager)
cleanupMenu
in interface ISystemTextEditorContextContributor
public void cleanupPopupMenu(ITextEditor editor, IMenuManager menuManager)
cleanupPopupMenu
in interface ISystemTextEditorContextContributor
public void cleanupToolBar(ITextEditor editor, IToolBarManager toolBarManager)
cleanupToolBar
in interface ISystemTextEditorContextContributor
public void contributeToMenu(ITextEditor editor, IMenuManager menuManager)
contributeToMenu
in interface ISystemTextEditorContextContributor
public void createCompileMenu(ITextEditor editor, IMenuManager menuManager)
public static void contributeCompileMenuItems(ITextEditor editor, IMenuManager menuCompile, Shell shell)
editor
- the editor that the source is open inmenuCompile
- the compile menupublic static IFile getIFile(ITextEditor editor)
editor
- the editor in which the source is open
public static StructuredSelection getCompileSelectionObject(ITextEditor editor)
editor
- the editor that the source is open in
public void contributeToPopupMenu(ITextEditor editor, IMenuManager menuManager)
contributeToPopupMenu
in interface ISystemTextEditorContextContributor
public void contributeToToolBar(ITextEditor editor, IToolBarManager toolBarManager)
contributeToToolBar
in interface ISystemTextEditorContextContributor
public void saving(ITextEditor editor)
saving
in interface ISystemTextEditorContextContributor
public void finishedSaving(ITextEditor editor)
finishedSaving
in interface ISystemTextEditorContextContributor
public static TextEditorAction getBaseEditorAction(ITextEditor editor, String actionId)
editor
- the editor to which the action belongs toactionId
- the id of the action to retrieve
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |