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

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

Issue 9834028: Initial implementation of "Rename Local Variable" refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: LInked/inline mode for rename Created 8 years, 9 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/SelectionDispatchAction.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/SelectionDispatchAction.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/SelectionDispatchAction.java
index 3f8a553f3fdba6cee5a45fbba7791affd1e2614c..b056c4af586033d9a1a0c508c31adb2fca891ac2 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/SelectionDispatchAction.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/SelectionDispatchAction.java
@@ -48,7 +48,7 @@ import org.eclipse.ui.IWorkbenchSite;
public abstract class SelectionDispatchAction extends AbstractInstrumentedAction implements
ISelectionChangedListener {
- private IWorkbenchSite fSite;
+ private final IWorkbenchSite fSite;
private ISelectionProvider fSpecialSelectionProvider;
/**
@@ -109,9 +109,6 @@ public abstract class SelectionDispatchAction extends AbstractInstrumentedAction
return fSite;
}
- /*
- * (non-Javadoc) Method declared on IAction.
- */
@Override
public void run() {
EmitInstrumentationCommand();
@@ -197,9 +194,6 @@ public abstract class SelectionDispatchAction extends AbstractInstrumentedAction
selectionChanged((ISelection) selection);
}
- /*
- * (non-Javadoc) Method declared on ISelectionChangedListener.
- */
@Override
public void selectionChanged(SelectionChangedEvent event) {
dispatchSelectionChanged(event.getSelection());

Powered by Google App Engine
This is Rietveld 408576698