aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2010-12-09 15:35:21 -0800
committerAndroid Code Review <code-review@android.com>2010-12-09 15:35:21 -0800
commitb1be6238d45ee57214c25e0d80a03cf73161e6f8 (patch)
tree106d2922fdded6e293f23f4d293512e54f370088 /eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java
parenteadfb94154126f670fa0ada62d36fec5f6188bd9 (diff)
parentfe3eebe57ba2925642cc1b257cb03ba617d298af (diff)
downloadsdk-b1be6238d45ee57214c25e0d80a03cf73161e6f8.zip
sdk-b1be6238d45ee57214c25e0d80a03cf73161e6f8.tar.gz
sdk-b1be6238d45ee57214c25e0d80a03cf73161e6f8.tar.bz2
Merge "Issue 13051: Use match_parent or fill_parent based on API level"
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java')
-rwxr-xr-xeclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java
index a17af01..a8c131b 100755
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/IClientRulesEngine.java
@@ -33,6 +33,8 @@ public interface IClientRulesEngine {
/**
* Returns the FQCN for which the rule was loaded.
+ *
+ * @return the fully qualified name of the rule
*/
String getFqcn();
@@ -64,6 +66,8 @@ public interface IClientRulesEngine {
/**
* Displays the given message string in an alert dialog with an "OK" button.
+ *
+ * @param message the message to be shown
*/
void displayAlert(String message);
@@ -80,5 +84,12 @@ public interface IClientRulesEngine {
*/
@Nullable
String displayInput(String message, @Nullable String value, @Nullable IValidator filter);
+
+ /**
+ * Returns the minimum API level that the current Android project is targeting.
+ *
+ * @return the minimum API level to be supported, or -1 if it cannot be determined
+ */
+ int getMinApiLevel();
}