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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/InlineMethodAction.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/InlineMethodAction.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/InlineMethodAction.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/InlineMethodAction.java
index 5e7d760ad7e3233bc4188cf3c37a3335675e1339..bb10f62eda053061fba9e34a7b33b19a8b10cf34 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/InlineMethodAction.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/InlineMethodAction.java
@@ -7,7 +7,7 @@ import com.google.dart.tools.core.model.DartModelException;
import com.google.dart.tools.core.model.Method;
import com.google.dart.tools.core.model.SourceRange;
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.internal.corext.refactoring.util.DartElementUtil;
import com.google.dart.tools.ui.DartToolsPlugin;
import com.google.dart.tools.ui.internal.actions.ActionUtil;
@@ -117,7 +117,7 @@ public class InlineMethodAction extends InstrumentedSelectionDispatchAction {
}
public boolean tryInlineMethod(CompilationUnit unit, ITextSelection selection, Shell shell) {
- return RefactoringExecutionStarter.startInlineMethodRefactoring(
+ return RefactoringExecutionStarter_OLD.startInlineMethodRefactoring(
unit,
selection.getOffset(),
selection.getLength(),
@@ -128,7 +128,7 @@ public class InlineMethodAction extends InstrumentedSelectionDispatchAction {
if (!ActionUtil.isEditable(fEditor, getShell(), unit)) {
return;
}
- if (!RefactoringExecutionStarter.startInlineMethodRefactoring(unit, offset, length, getShell())) {
+ if (!RefactoringExecutionStarter_OLD.startInlineMethodRefactoring(unit, offset, length, getShell())) {
MessageDialog.openInformation(
getShell(),
RefactoringMessages.InlineMethodAction_dialog_title,

Powered by Google App Engine
This is Rietveld 408576698