public abstract class WidgetDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ATT_NAME
Name attribute.
|
static java.lang.String | ATT_VALUE
Value attribute.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | TAG_PROPERTY
Property element name.
|
static java.lang.String | TAG_VALUE
Value element name.
|
Constructor and Description |
---|
WidgetDescriptor(org.eclipse.core.runtime.IConfigurationElement element, WidgetDescriptor referenceDescriptor)
Construct a new widget descriptor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IConfigurationElement | getConfigurationElement()
This method returns the descriptor's configuration element.
|
java.lang.String | getNamespace()
This method returns the namespace for this descriptor.
|
java.lang.String | getNamespace(java.lang.String propertyName)
This method returns the namespace that is associated with the specified property.
|
java.util.Map | getProperties()
This method returns a Map containing the properties associated with this descriptor.
|
java.lang.Object | getProperty(java.lang.String propertyName)
This method gets the specified property.
|
WidgetDescriptor | getReferenceDescriptor()
This method returns the reference widget descriptor.
|
java.lang.String | getStringProperty(java.lang.String propertyName)
This method gets the specified property as a String.
|
void | setConfigurationElement(org.eclipse.core.runtime.IConfigurationElement element)
This method sets the descriptor's configuration element.
|
void | setProperty(java.lang.String propertyName, java.lang.Object value)
This method sets the specified property.
|
void | setReferenceDescriptor(WidgetDescriptor referenceDescriptor)
This method sets the reference descriptor.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String TAG_PROPERTY
public static final java.lang.String TAG_VALUE
public static final java.lang.String ATT_NAME
public static final java.lang.String ATT_VALUE
public WidgetDescriptor(org.eclipse.core.runtime.IConfigurationElement element, WidgetDescriptor referenceDescriptor)
public java.util.Map getProperties()
public void setProperty(java.lang.String propertyName, java.lang.Object value)
public java.lang.Object getProperty(java.lang.String propertyName)
public java.lang.String getStringProperty(java.lang.String propertyName)
public org.eclipse.core.runtime.IConfigurationElement getConfigurationElement()
public void setConfigurationElement(org.eclipse.core.runtime.IConfigurationElement element)
public java.lang.String getNamespace()
public java.lang.String getNamespace(java.lang.String propertyName)
public WidgetDescriptor getReferenceDescriptor()
public void setReferenceDescriptor(WidgetDescriptor referenceDescriptor)