diff options
author | Tor Norbye <tnorbye@google.com> | 2012-04-03 11:11:16 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-04-03 11:11:16 -0700 |
commit | 27dac06bfc4297dc9a018edc534f44ecf96cd724 (patch) | |
tree | 312f2cdccb1dc7ec2bbefcd303934848c14c6ac2 /rule_api/src/com/android/ide/common/api | |
parent | a7621238bf0202419677380ee3a268142358df83 (diff) | |
download | sdk-27dac06bfc4297dc9a018edc534f44ecf96cd724.zip sdk-27dac06bfc4297dc9a018edc534f44ecf96cd724.tar.gz sdk-27dac06bfc4297dc9a018edc534f44ecf96cd724.tar.bz2 |
Revert "Add support for the WindowBuilder Property Sheet"
This reverts commit a7621238bf0202419677380ee3a268142358df83.
Diffstat (limited to 'rule_api/src/com/android/ide/common/api')
-rw-r--r-- | rule_api/src/com/android/ide/common/api/IAttributeInfo.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/rule_api/src/com/android/ide/common/api/IAttributeInfo.java b/rule_api/src/com/android/ide/common/api/IAttributeInfo.java index 997eeb4..7fd253c 100644 --- a/rule_api/src/com/android/ide/common/api/IAttributeInfo.java +++ b/rule_api/src/com/android/ide/common/api/IAttributeInfo.java @@ -18,7 +18,6 @@ package com.android.ide.common.api; import com.android.annotations.NonNull; import com.android.annotations.Nullable; -import com.android.resources.ResourceType; import com.google.common.annotations.Beta; import java.util.EnumSet; @@ -91,39 +90,6 @@ public interface IAttributeInfo { return EnumSet.of(this); } } - - /** Returns the corresponding resource type for this attribute info, - * or null if there is no known or corresponding resource type (such as for - * enums and flags) - * - * @return the corresponding resource type, or null - */ - @Nullable - public ResourceType getResourceType() { - switch (this) { - case STRING: - return ResourceType.STRING; - case BOOLEAN: - return ResourceType.BOOL; - case COLOR: - return ResourceType.COLOR; - case DIMENSION: - return ResourceType.DIMEN; - case FRACTION: - return ResourceType.FRACTION; - case INTEGER: - return ResourceType.INTEGER; - - // No direct corresponding resource type - case ENUM: - case FLAG: - case FLOAT: - case REFERENCE: - return null; - } - - return null; - } } /** Returns the XML Name of the attribute */ |