public SurroundWithActionGroup(CompilationUnitEditor editor, String group) { fEditor= editor; fGroup= group; fSurroundWithTryCatchAction= createSurroundWithTryCatchAction(fEditor); fSurroundWithTryMultiCatchAction= createSurroundWithTryMultiCatchAction(fEditor); }
public SurroundWithActionGroup(CompilationUnitEditor editor, String group) { fEditor= editor; fGroup= group; fSurroundWithTryCatchAction= createSurroundWithTryCatchAction(fEditor); fSurroundWithTryMultiCatchAction= createSurroundWithTryMultiCatchAction(fEditor); }
@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();
if (addSurroundWith) { SurroundWithTryCatchAction surroundWithTryCatch= SurroundWithActionGroup.createSurroundWithTryCatchAction(editor); SurroundWithTryMultiCatchAction surroundWithTryMultiCatch= SurroundWithActionGroup.createSurroundWithTryMultiCatchAction(editor);
if (addSurroundWith) { SurroundWithTryCatchAction surroundWithTryCatch= SurroundWithActionGroup.createSurroundWithTryCatchAction(editor); SurroundWithTryMultiCatchAction surroundWithTryMultiCatch= SurroundWithActionGroup.createSurroundWithTryMultiCatchAction(editor);