|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.core.runtime.model.PluginModelObject
|
+--org.eclipse.core.runtime.model.ConfigurationElementModel
An object which represents the user-defined contents of an extension in a plug-in manifest.
This class may be instantiated, or further subclassed.
| Constructor Summary | |
ConfigurationElementModel()
Creates a new configuration element model in which all fields are null. |
|
| Method Summary | |
Object |
getParent()
Returns the element which contains this element. |
ExtensionModel |
getParentExtension()
Returns the extension in which this configuration element is declared. |
ConfigurationPropertyModel[] |
getProperties()
Returns the properties associated with this element. |
ConfigurationElementModel[] |
getSubElements()
Returns this element's sub-elements. |
String |
getValue()
Returns the value of this element. |
String |
getValueAsIs()
Returns the value of this element. |
void |
markReadOnly()
Sets this model object and all of its descendents to be read-only. |
void |
setLocalizedValue(String value)
Optimization to replace a non-localized key with its localized value. |
void |
setParent(Object value)
Sets the parent of this element. |
void |
setProperties(ConfigurationPropertyModel[] value)
Sets the properties associated with this element. |
void |
setSubElements(ConfigurationElementModel[] value)
Sets configuration elements contained by this element This object must not be read-only. |
void |
setValue(String value)
Sets the value of this element. |
| Methods inherited from class org.eclipse.core.runtime.model.PluginModelObject |
assertIsWriteable, getName, getStartLine, isReadOnly, setLocalizedName, setName, setStartLine, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConfigurationElementModel()
null.
| Method Detail |
public Object getParent()
ExtensionModel.
Otherwise the returned value can be downcast to
ConfigurationElementModel.
nullpublic ExtensionModel getParentExtension()
getParent.
nullpublic ConfigurationPropertyModel[] getProperties()
nullpublic ConfigurationElementModel[] getSubElements()
nullpublic String getValue()
nullpublic String getValueAsIs()
nullpublic void markReadOnly()
markReadOnly in class PluginModelObjectPluginModelObject.isReadOnly()public void setLocalizedValue(String value)
public void setParent(Object value)
ExtensionModel, if this element is to be a
direct child of an extension, or another ConfigurationElement.
This object must not be read-only.
value - the new parent of this element. May be null.public void setProperties(ConfigurationPropertyModel[] value)
value - the properties to associate with this element. May be null.public void setSubElements(ConfigurationElementModel[] value)
value - the configuration elements to be associated with this element.
May be null.public void setValue(String value)
value - the new value of this element. May be null.
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||