Methods Summary |
---|
public abstract com.android.ide.eclipse.editors.uimodel.UiAttributeNode | createUiNode(com.android.ide.eclipse.editors.uimodel.UiElementNode uiParent)
|
public org.eclipse.swt.graphics.Image | getIcon()Returns an optional icon for the attribute.
By default this tries to return an icon based on the XML name of the attribute.
If this fails, it tries to return the default Android logo as defined in the
plugin. If all fails, it returns null.
IconFactory factory = IconFactory.getInstance();
Image icon;
icon = factory.getIcon(getXmlLocalName(), IconFactory.COLOR_RED, IconFactory.SHAPE_CIRCLE);
return icon != null ? icon : AdtPlugin.getAndroidLogo();
|
public final java.lang.String | getNamespaceUri()
return mNsUri;
|
public final ElementDescriptor | getParent()
return mParent;
|
public final java.lang.String | getXmlLocalName()Returns the XML local name of the attribute (case sensitive)
return mXmlLocalName;
|
public boolean | isDeprecated()
return mDeprecated;
|
public void | setDeprecated(boolean isDeprecated)
mDeprecated = isDeprecated;
|
final void | setParent(ElementDescriptor parent)
mParent = parent;
|