aboutsummaryrefslogtreecommitdiffstats
path: root/rule_api
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-04-03 16:32:53 -0700
committerTor Norbye <tnorbye@google.com>2012-06-12 15:11:56 -0700
commitfb6d52d71a7461cb1ac4149f4f71d6a63e7436da (patch)
treeddae10c083d2532d6b340f8b5699630c9c24142b /rule_api
parent9208fab7341aebfcf800fa9a293e06ec803927de (diff)
downloadsdk-fb6d52d71a7461cb1ac4149f4f71d6a63e7436da.zip
sdk-fb6d52d71a7461cb1ac4149f4f71d6a63e7436da.tar.gz
sdk-fb6d52d71a7461cb1ac4149f4f71d6a63e7436da.tar.bz2
GridLayout support work
Lots of miscellaneous fixes to the GridLayout support in ADT. The changes include using the GridLayout state (via reflection) to populate the model; caching the grid model for performance, and a bunch of fixes to the code which handles insertions and removals. There are also some new unit tests. This is not done, but is an improvement over the current state. Change-Id: I4851153d3e409630c2d2024c4894d1ad1535fb47
Diffstat (limited to 'rule_api')
-rw-r--r--rule_api/src/com/android/ide/common/api/IClientRulesEngine.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/rule_api/src/com/android/ide/common/api/IClientRulesEngine.java b/rule_api/src/com/android/ide/common/api/IClientRulesEngine.java
index 329f38c..08630c7 100644
--- a/rule_api/src/com/android/ide/common/api/IClientRulesEngine.java
+++ b/rule_api/src/com/android/ide/common/api/IClientRulesEngine.java
@@ -44,6 +44,15 @@ public interface IClientRulesEngine {
String getFqcn();
/**
+ * Returns the most recently rendered View object for this node, if any.
+ *
+ * @param node the node to look up the view object for
+ * @return the corresponding view object, or null
+ */
+ @Nullable
+ Object getViewObject(@NonNull INode node);
+
+ /**
* Prints a debug line in the Eclipse console using the ADT formatter.
*
* @param msg A String format message.