|
Eclipse Platform Release 3.6 |
|||||||||
| 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
public class 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 | |
|---|---|
java.lang.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. |
java.lang.String |
getValue()
Deprecated. Returns the value of this element. |
java.lang.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(java.lang.String value)
Deprecated. Optimization to replace a non-localized key with its localized value. |
void |
setParent(java.lang.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(java.lang.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 java.lang.Object getParent()
ExtensionModel. Otherwise the returned value can be
downcast to ConfigurationElementModel.
nullpublic ExtensionModel getParentExtension()
getParent.
nullpublic ConfigurationPropertyModel[] getProperties()
nullpublic ConfigurationElementModel[] getSubElements()
nullpublic java.lang.String getValue()
nullpublic java.lang.String getValueAsIs()
nullpublic void markReadOnly()
markReadOnly in class PluginModelObjectPluginModelObject.isReadOnly()public void setLocalizedValue(java.lang.String value)
value - the localized value of this model objectpublic void setParent(java.lang.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(java.lang.String value)
value - the new value of this element. May be null.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.