aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/icons
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-03-20 11:50:57 -0700
committerTor Norbye <tnorbye@google.com>2012-04-03 07:55:09 -0700
commita7621238bf0202419677380ee3a268142358df83 (patch)
tree0bde7f60b2124e21ca825e1ac3ef9bad50426f9a /eclipse/plugins/com.android.ide.eclipse.adt/icons
parentb0c819f896b3c579633849e3fa674a30e6978dd7 (diff)
downloadsdk-a7621238bf0202419677380ee3a268142358df83.zip
sdk-a7621238bf0202419677380ee3a268142358df83.tar.gz
sdk-a7621238bf0202419677380ee3a268142358df83.tar.bz2
Add support for the WindowBuilder Property Sheet
The WindowBuilder propertysheet has been extracted and added as a library in external/eclipse-windowbuilder/. This changeset removes the old propertysheet code (which used the builtin Eclipse property sheet page), and replaces it with the WindowBuilder one, along with new code to aggregate the properties into some categories, as well as tagging some of the properties as advanced. (This was computed by running the same analysis scripts used to produce the most-frequent attributes (sdk/attribute_stats) and instead computing which attributes are used very infrequently or not at all in some representative sample code.) The WindowBuilder propertysheet gives us the following new features: - Highlighting (bold) of important attributes - Masking (and when included, shown in gray italic) of advanced attributes - "Complex" attributes with nesting, used to for example aggregate all the layout parameters into a single node, and the margin layout attributes within those - Tooltips over the attribute names, not values, so they never obscure content In addition, this changeset adds custom implementations of properties, property editors and property dialogs for the core Android property types (XML strings, flags and booleans), which adds the following new features: - Preview rendering of color and image resources inline - Display of -default- attributes (those not specified in XML) using the layoutlib facility getDefaultProperties() to render the implied attributes. For example, if you look at a Button, it will show you that the implied value of "Text Color Link" is "@android:color/holo_blue_light" even though it is not set. NOTE: This only happens for attributes that were actually queried by the widget during rendering. Attributes that are not used by the widget have no (displayed) value. Thus, EditText-specific attributes in a TextView are not shown when a non-EditText TextView is selected. - Evaluation of the attributes. In the above example, in addition to showing @android:color/holo_blue_light, it will chase down the value of this to for example render a blue square next to the value. For drawables it will render a thumbnail, and for String resources it will display the actual value in parentheses. - Field completion in text fields, completing all resource strings (@string, @android:string, etc), as well as flag values. Enum values are chosen in a dropdown. - Checkbox support for boolean values, allowing you to click through the three values true, false and null. - Our custom version of the Property Sheet Page allows you to expand/collapse all properties, and it also has an option letting you switch between Alphabetical Sort (where all attributes are in a flat table, sorted alphabetically by property value), or hierarchical sorted "by category". Currently the categories are simply the defining views, plus 2 more (layout parameters and deprecated attributes). When we get more metadata, it would be nice to switch these to more logical categories, such as "text", "scrolling", "focus", etc. (There is some preliminary support for this in the code, but since the defining-view categories seem to work better those are used instead right now.) Change-Id: Ie4959a3a2c36c083dcc1ba19a70f24b33739fe2f
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/icons')
-rw-r--r--[-rwxr-xr-x]eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_design.pngbin445 -> 445 bytes
-rw-r--r--[-rwxr-xr-x]eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_source.pngbin488 -> 488 bytes
-rw-r--r--[-rwxr-xr-x]eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.pngbin430 -> 430 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/filter_advanced_properties.pngbin0 -> 331 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/goto_definition.pngbin0 -> 241 bytes
-rw-r--r--[-rwxr-xr-x]eclipse/plugins/com.android.ide.eclipse.adt/icons/match_multiple.pngbin256 -> 256 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_default.pngbin0 -> 584 bytes
-rw-r--r--[-rwxr-xr-x]eclipse/plugins/com.android.ide.eclipse.adt/icons/sdk_manager.pngbin219 -> 219 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/sort_alpha.pngbin0 -> 277 bytes
9 files changed, 0 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_design.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_design.png
index a19f3b0..a19f3b0 100755..100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_design.png
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_design.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_source.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_source.png
index 874cc1e..874cc1e 100755..100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_source.png
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_page_source.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png
index c682f57..c682f57 100755..100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/filter_advanced_properties.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/filter_advanced_properties.png
new file mode 100644
index 0000000..5f5b078
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/filter_advanced_properties.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/goto_definition.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/goto_definition.png
new file mode 100644
index 0000000..daac537
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/goto_definition.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/match_multiple.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/match_multiple.png
index 79ffc2d..79ffc2d 100755..100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/icons/match_multiple.png
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/match_multiple.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_default.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_default.png
new file mode 100644
index 0000000..5696a31
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_default.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/sdk_manager.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/sdk_manager.png
index 08ffda8..08ffda8 100755..100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/icons/sdk_manager.png
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/sdk_manager.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/sort_alpha.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/sort_alpha.png
new file mode 100644
index 0000000..112e05b
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/sort_alpha.png
Binary files differ