if( selection != null && selection instanceof ITextSelection ) {
atgEditor = (ATGEditor) HandlerUtil.getActiveEditor(event);
shell = HandlerUtil.getActiveShell(event);
textSelection = (ITextSelection) selection;
info = new RenameRefactorInfo(
textSelection.getOffset(),
textSelection.getText(),
textSelection.getText(),
atgEditor);
if (saveAll()) {