aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-04-06 21:50:31 -0700
committerTor Norbye <tnorbye@google.com>2015-04-06 21:50:31 -0700
commit0df3ee2c7c5612b95acdcf1ae8b63ce4c49f2754 (patch)
tree00af7102a74862c1d1d420aab7fe614cb4862a6a
parent1765a16a16ac2d98465926990e2478665eede3da (diff)
downloadsdk-0df3ee2c7c5612b95acdcf1ae8b63ce4c49f2754.zip
sdk-0df3ee2c7c5612b95acdcf1ae8b63ce4c49f2754.tar.gz
sdk-0df3ee2c7c5612b95acdcf1ae8b63ce4c49f2754.tar.bz2
Track tools/base API change in Eclipse plugin
Change-Id: Id1f6a80f8465ad97d392cda6083f374490aa8099
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java
index 94a7da1..154d35e 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java
@@ -293,6 +293,19 @@ public class EclipseLintClient extends LintClient {
model.releaseFromRead();
}
}
+
+ @Override
+ @NonNull
+ public Location getNameLocation(@NonNull XmlContext context, @NonNull Node node) {
+ return getLocation(context, node);
+ }
+
+ @Override
+ @NonNull
+ public Location getValueLocation(@NonNull XmlContext context, @NonNull Attr node) {
+ return getLocation(context, node);
+ }
+
};
}