PortabilityRefactoring ref = new PortabilityRefactoring(
editor.getDefinitionFile(), editor.getDefinition(),
variable.getName(), replacement);
boolean useLtk = ref.isUserInteractionNeeded();
if (useLtk) {
RenameRefactoringWizard wizard = new RenameRefactoringWizard(ref);
wizard.setDefaultPageTitle(Messages.getString("Refactoring.variable.name"));
RefactoringWizardOpenOperation op = new RefactoringWizardOpenOperation(wizard);
try {
result = op.run(Display.getCurrent().getActiveShell(), "");
if (result != IDialogConstants.OK_ID) {