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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/tagging/IQualifiedNameUpdating.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/internal/corext/refactoring/tagging/IQualifiedNameUpdating.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/tagging/IQualifiedNameUpdating.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/tagging/IQualifiedNameUpdating.java
new file mode 100644
index 0000000000000000000000000000000000000000..9326be5ffcc61b82209887a18051be52eb0e43a1
--- /dev/null
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/tagging/IQualifiedNameUpdating.java
@@ -0,0 +1,30 @@
+package com.google.dart.tools.internal.corext.refactoring.tagging;
+
+public interface IQualifiedNameUpdating {
+
+ /**
+ * Performs a dynamic check whether this refactoring object is capable of updating qualified names
+ * in non Dart files. The return value of this method may change according to the state of the
+ * refactoring.
+ */
+ public boolean canEnableQualifiedNameUpdating();
+
+ public String getFilePatterns();
+
+ /**
+ * If <code>canEnableQualifiedNameUpdating</code> returns <code>true</code>, then this method is
+ * used to ask the refactoring object whether references in non Dart files should be updated. This
+ * call can be ignored if <code>canEnableQualifiedNameUpdating</code> returns <code>false</code>.
+ */
+ public boolean getUpdateQualifiedNames();
+
+ public void setFilePatterns(String patterns);
+
+ /**
+ * If <code>canEnableQualifiedNameUpdating</code> returns <code>true</code>, then this method is
+ * used to inform the refactoring object whether references in non Dart files should be updated.
+ * This call can be ignored if <code>canEnableQualifiedNameUpdating</code> returns
+ * <code>false</code>.
+ */
+ public void setUpdateQualifiedNames(boolean update);
+}

Powered by Google App Engine
This is Rietveld 408576698