public class ConfigurationElementModel extends PluginModelObject
This class may be instantiated, or further subclassed.
Constructor and Description |
---|
ConfigurationElementModel()
Deprecated.
Creates a new configuration element model in which all fields are
null . |
Modifier and Type | Method and Description |
---|---|
Object |
getParent()
Deprecated.
Returns the element which contains this element.
|
ExtensionModel |
getParentExtension()
Deprecated.
Returns the extension in which this configuration element is declared.
|
ConfigurationPropertyModel[] |
getProperties()
Deprecated.
Returns the properties associated with this element.
|
ConfigurationElementModel[] |
getSubElements()
Deprecated.
Returns this element's sub-elements.
|
String |
getValue()
Deprecated.
Returns the value of this element.
|
String |
getValueAsIs()
Deprecated.
Returns the value of this element.
|
void |
markReadOnly()
Deprecated.
Sets this model object and all of its descendents to be read-only.
|
void |
setLocalizedValue(String value)
Deprecated.
Optimization to replace a non-localized key with its localized value.
|
void |
setParent(Object value)
Deprecated.
Sets the parent of this element.
|
void |
setProperties(ConfigurationPropertyModel[] value)
Deprecated.
Sets the properties associated with this element.
|
void |
setSubElements(ConfigurationElementModel[] value)
Deprecated.
Sets configuration elements contained by this element This object must
not be read-only.
|
void |
setValue(String value)
Deprecated.
Sets the value of this element.
|
assertIsWriteable, getName, getStartLine, isReadOnly, setLocalizedName, setName, setStartLine, toString
public ConfigurationElementModel()
null
.public Object getParent()
ExtensionModel
. Otherwise the returned value can be
downcast to ConfigurationElementModel
.null
public ExtensionModel getParentExtension()
getParent
.null
public ConfigurationPropertyModel[] getProperties()
null
public ConfigurationElementModel[] getSubElements()
null
public String getValue()
null
public String getValueAsIs()
null
public void markReadOnly()
markReadOnly
in class PluginModelObject
PluginModelObject.isReadOnly()
public void setLocalizedValue(String value)
value
- the localized value of this model objectpublic 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
.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.