public SurroundWithActionGroup(CompilationUnitEditor editor, String group) { fEditor= editor; fGroup= group; fSurroundWithTryCatchAction= createSurroundWithTryCatchAction(fEditor); fSurroundWithTryMultiCatchAction= createSurroundWithTryMultiCatchAction(fEditor); }
ActionGroup surroundWith= new SurroundWithActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
public SurroundWithActionGroup(CompilationUnitEditor editor, String group) { fEditor= editor; fGroup= group; fSurroundWithTryCatchAction= createSurroundWithTryCatchAction(fEditor); }
String shortcutString= getShortcutString(); if (shortcutString != null) { menuText= menuText + '\t' + shortcutString;
ActionGroup surroundWith= new SurroundWithActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
public SurroundWithActionGroup(CompilationUnitEditor editor, String group) { fEditor= editor; fGroup= group; fSurroundWithTryCatchAction= createSurroundWithTryCatchAction(fEditor); fSurroundWithTryMultiCatchAction= createSurroundWithTryMultiCatchAction(fEditor); }
ActionGroup surroundWith= new SurroundWithActionGroup(this, ITextEditorActionConstants.GROUP_EDIT);
@Override protected void fillMenu(IMenuManager menu) { SurroundWithTryCatchAction surroundWithTryCatch= SurroundWithActionGroup.createSurroundWithTryCatchAction(editor); SurroundWithTryMultiCatchAction surroundWithTryMultiCatch= SurroundWithActionGroup.createSurroundWithTryMultiCatchAction(editor); SurroundWithTemplateMenuAction.fillMenu(menu, editor, surroundWithTryCatch, surroundWithTryMultiCatch); } }.createMenu();
@Override protected void fillMenu(IMenuManager menu) { SurroundWithTryCatchAction surroundWithTryCatch= SurroundWithActionGroup.createSurroundWithTryCatchAction(editor); SurroundWithTryMultiCatchAction surroundWithTryMultiCatch= SurroundWithActionGroup.createSurroundWithTryMultiCatchAction(editor); SurroundWithTemplateMenuAction.fillMenu(menu, editor, surroundWithTryCatch, surroundWithTryMultiCatch); } }.createMenu();
SurroundWithTryCatchAction surroundWithTryCatch= SurroundWithActionGroup.createSurroundWithTryCatchAction(editor); SurroundWithTryMultiCatchAction surroundWithTryMultiCatch= SurroundWithActionGroup.createSurroundWithTryMultiCatchAction(editor);
SurroundWithTryCatchAction surroundWithTryCatch= SurroundWithActionGroup.createSurroundWithTryCatchAction(editor); SurroundWithTryMultiCatchAction surroundWithTryMultiCatch= SurroundWithActionGroup.createSurroundWithTryMultiCatchAction(editor);