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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RenameAction.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/RenameAction.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RenameAction.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RenameAction.java
index 134108bce77b6327ed3b952b8eea0e8bb6c3dfae..4b314497ca143f042731b607d8b6a9621eda713d 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RenameAction.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/RenameAction.java
@@ -16,9 +16,8 @@ import org.eclipse.ui.PlatformUI;
/**
* Renames a Dart element or workbench resource.
* <p>
- * Action is applicable to selections containing elements of type <code>IJavaElement</code> or
+ * Action is applicable to selections containing elements of type <code>DartElement</code> or
* <code>IResource</code>.
- *
* <p>
* This class may be instantiated; it is not intended to be subclassed.
* </p>
@@ -28,13 +27,12 @@ import org.eclipse.ui.PlatformUI;
public class RenameAction extends SelectionDispatchAction {
private RenameDartElementAction fRenameDartElement;
- private RenameResourceAction fRenameResource;
+ private final RenameResourceAction fRenameResource;
/**
* Note: This constructor is for internal use only. Clients should not call this constructor.
*
- * @param editor the Java editor
- *
+ * @param editor the {@link DartEditor}
* @noreference This constructor is not intended to be referenced by clients.
*/
public RenameAction(DartEditor editor) {

Powered by Google App Engine
This is Rietveld 408576698