|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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()
Deprecated. Creates a new configuration element model in which all fields are null . |
Method Summary | |
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. |
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
.
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
.
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.