aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2011-05-19 08:22:04 -0700
committerTor Norbye <tnorbye@google.com>2011-05-19 08:22:04 -0700
commita87491173c4d981359a338c361d83b986ef76a4f (patch)
tree03cc4c5c7ecd58234f3df59f7be470399830dddd /eclipse
parente3749f65533eb5566e73ff386e3978c67c7c5920 (diff)
downloadsdk-a87491173c4d981359a338c361d83b986ef76a4f.zip
sdk-a87491173c4d981359a338c361d83b986ef76a4f.tar.gz
sdk-a87491173c4d981359a338c361d83b986ef76a4f.tar.bz2
Fix auto-merge
A change that was cherrypicked from the external master into the tools-r11 branch was automerged back into the external master in such a way that a method and a field got duplicated. This CL fixes the merge. Change-Id: I5b05c8a9477b4afb669efd1904c1415925d25307
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/LayoutDescriptors.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/LayoutDescriptors.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/LayoutDescriptors.java
index 6fa1743..89cfe92 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/LayoutDescriptors.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/LayoutDescriptors.java
@@ -71,13 +71,6 @@ public final class LayoutDescriptors implements IDescriptorProvider {
public static final String VIEW_FRAGMENT = "fragment"; //$NON-NLS-1$
/**
- * The XML name of the special {@code <requestFocus>} layout tag.
- * A synthetic element with that name is created as part of the view descriptors list
- * returned by {@link #getViewDescriptors()}.
- */
- public static final String REQUEST_FOCUS = "requestFocus";//$NON-NLS-1$
-
- /**
* The XML name of the special {@code <view>} layout tag. This is used to add generic
* views with a class attribute to specify the view.
* <p>
@@ -492,26 +485,6 @@ public final class LayoutDescriptors implements IDescriptorProvider {
return descriptor;
}
- * Creates and return a new {@code <requestFocus>} descriptor.
- * @param knownLayouts A list of all known layout view descriptors, used to find the
- * FrameLayout descriptor and extract its layout attributes.
- */
- private ViewElementDescriptor createRequestFocus() {
- String xml_name = REQUEST_FOCUS;
-
- // Create the include descriptor
- return new ViewElementDescriptor(
- xml_name, // xml_name
- xml_name, // ui_name
- xml_name, // "class name"; the GLE only treats this as an element tag
- "Requests focus for the parent element or one of its descendants", // tooltip
- null, // sdk_url
- null, // attributes
- null, // layout attributes
- null, // children
- false /* mandatory */);
- }
-
/**
* Creates and returns a new {@code <requestFocus>} descriptor.
*/