aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/dictionary.txt
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2011-02-14 14:41:07 -0800
committerTor Norbye <tnorbye@google.com>2011-02-17 11:37:46 -0800
commit8dc4366bbaad39d56e1c2ded4046c86a95a17666 (patch)
tree1cf8cdd65f7060024695571f1a21824d3f1cabf5 /eclipse/dictionary.txt
parentfda24dc116696fe937142b3a5819977cdab50d03 (diff)
downloadsdk-8dc4366bbaad39d56e1c2ded4046c86a95a17666.zip
sdk-8dc4366bbaad39d56e1c2ded4046c86a95a17666.tar.gz
sdk-8dc4366bbaad39d56e1c2ded4046c86a95a17666.tar.bz2
Refactoring: Wrap in Container, Change Layout Type, Extract
This changeset adds refactoring support for 3 visual refactoring operations: (1) Wrap in Container. This can be invoked on one or more sibling views (or the root view) to add a new layout container into the hierarchy which "wraps" the views. The refactoring can also update the layout attributes (such as RelativeLayout attachments) such that they refer to the new container instead. If invoked on the root element, the namespace declarations are migrated from the old root to the new root. (2) Change Layout. This can be invoked on a layout view to change the type of layout. In addition to editing the XML type declaration, it also removes layout parameters that no longer apply, and depending on which layout you are converting from and converting to, it may attempt to perform some translation to preserve the layout characteristics. In particular, if you convert from a LinearLayout to a RelativeLayout, then it will use RelativeLayout params to emulate the old LinearLayout by attaching items below (for vertical layouts) or to the right of (for horizontal layout) the previous sibling, and if the baseline property was set on the LinearLayout it will also add baseline constraints on the RelativeLayout. (It also adds default ids on any elements that need it.) There is a LOT more we can do to support layout transformations; this is just a beginning. (3) Extract as Include. We already had this feature, but it performed its own XML document manipulation. This code has been rewritten to use the Eclipse refactoring support (which the other two refactorings are implemented to use as well), which among other things means that you get Preview support - you can press Preview from the refactoring dialog to see the edits before they are made. This rewrite is also necessary to support an upcoming feature: the ability to replace occurrences in other configuration-variations of this layout; for that we need to ability to do multi-file changes which the refactoring support is ideal for. Change-Id: I50b142645f14c29c798fc02df6df69bad5b9426c
Diffstat (limited to 'eclipse/dictionary.txt')
-rw-r--r--eclipse/dictionary.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt
index 235e9f2..8246992 100644
--- a/eclipse/dictionary.txt
+++ b/eclipse/dictionary.txt
@@ -204,6 +204,7 @@ translucency
ui
uncomment
undescribed
+undoable
unhide
unicode
uninstall