FileDocCategorySizeDatePackage
TextValueDescriptor.javaAPI DocAndroid 1.5 API1694Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.editors.descriptors

TextValueDescriptor

public class TextValueDescriptor extends TextAttributeDescriptor
Describes the value of an XML element.

The value is a simple text string, displayed by an {@link UiTextValueNode}.

Fields Summary
Constructors Summary
public TextValueDescriptor(String uiName, String tooltip)
Creates a new {@link TextValueDescriptor}

param
uiName The UI name of the attribute. Cannot be an empty string and cannot be null.
param
tooltip A non-empty tooltip string or null

        super("#text" /* xmlLocalName */, uiName, null /* nsUri */, tooltip);
    
Methods Summary
public com.android.ide.eclipse.editors.uimodel.UiAttributeNodecreateUiNode(com.android.ide.eclipse.editors.uimodel.UiElementNode uiParent)

return
A new {@link UiTextValueNode} linked to this descriptor.

        return new UiTextValueNode(this, uiParent);