Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/ConvertMethodToGetterAction.java

Issue 12340077: Initial binding of RenameRefactoring service to Eclipse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/ConvertMethodToGetterAction.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/ConvertMethodToGetterAction.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/ConvertMethodToGetterAction.java
index fa2a689a463f14939001700f6e8fcec4a5d08932..eb2bc6123affe4a1e0f1eada899848b83cb1f003 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/ConvertMethodToGetterAction.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/ConvertMethodToGetterAction.java
@@ -18,7 +18,7 @@ import com.google.dart.tools.core.model.CompilationUnit;
import com.google.dart.tools.core.model.DartFunction;
import com.google.dart.tools.core.model.DartModelException;
import com.google.dart.tools.internal.corext.refactoring.RefactoringAvailabilityTester;
-import com.google.dart.tools.internal.corext.refactoring.RefactoringExecutionStarter;
+import com.google.dart.tools.internal.corext.refactoring.RefactoringExecutionStarter_OLD;
import com.google.dart.tools.ui.internal.actions.ActionUtil;
import com.google.dart.tools.ui.internal.actions.SelectionConverter;
import com.google.dart.tools.ui.internal.refactoring.RefactoringMessages;
@@ -73,7 +73,7 @@ public class ConvertMethodToGetterAction extends InstrumentedSelectionDispatchAc
try {
DartFunction function = DartModelUtil.findFunction(cu, selection.getOffset());
- boolean success = RefactoringExecutionStarter.startConvertMethodToGetterRefactoring(
+ boolean success = RefactoringExecutionStarter_OLD.startConvertMethodToGetterRefactoring(
function,
getShell());
if (success) {
@@ -129,7 +129,7 @@ public class ConvertMethodToGetterAction extends InstrumentedSelectionDispatchAc
if (!RefactoringAvailabilityTester.isConvertMethodToGetterAvailable(function)) {
instrumentation.metric("Problem", "RefactoringAvailabilityTester Returned false");
}
- boolean success = RefactoringExecutionStarter.startConvertMethodToGetterRefactoring(
+ boolean success = RefactoringExecutionStarter_OLD.startConvertMethodToGetterRefactoring(
function,
getShell());

Powered by Google App Engine
This is Rietveld 408576698