org.eclipse.core.runtime.model
Class ConfigurationElementModel
java.lang.Object
org.eclipse.core.runtime.model.PluginModelObject
org.eclipse.core.runtime.model.ConfigurationElementModel
Deprecated. In Eclipse 3.0 the runtime was refactored and all
non-essential elements removed. This class provides facilities primarily intended
for tooling. As such it has been removed and no directly substitutable API provided.
-
public class ConfigurationElementModel
- extends
PluginModelObject
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 . |
ConfigurationElementModel
public ConfigurationElementModel()
-
Deprecated.
- Creates a new configuration element model in which all fields are
null
.
getParent
public
Object getParent()
-
Deprecated.
- Returns the element which contains this element. If this element is an
immediate child of an extension, the returned value can be downcast to
ExtensionModel
. Otherwise the returned value can be
downcast to ConfigurationElementModel
.
-
-
Returns:
- the parent of this configuration element or
null
getParentExtension
public
ExtensionModel getParentExtension()
-
Deprecated.
- Returns the extension in which this configuration element is declared.
If this element is a top-level child of an extension, the returned value
is equivalent to
getParent
.
-
-
Returns:
- the extension in which this configuration element is declared or
null
getProperties
public
ConfigurationPropertyModel[] getProperties()
-
Deprecated.
- Returns the properties associated with this element.
-
-
Returns:
- the properties associated with this element or
null
getSubElements
public
ConfigurationElementModel[] getSubElements()
-
Deprecated.
- Returns this element's sub-elements.
-
-
Returns:
- the sub-elements of this element or
null
getValue
public
String getValue()
-
Deprecated.
- Returns the value of this element.
-
-
Returns:
- the value of this element or
null
getValueAsIs
public
String getValueAsIs()
-
Deprecated.
- Returns the value of this element.
-
-
Returns:
- the value of this element or
null
-
Since:
- 2.0
markReadOnly
public void markReadOnly()
-
Deprecated.
- Sets this model object and all of its descendents to be read-only.
Subclasses may extend this implementation.
-
-
Overrides:
-
markReadOnly
in class
PluginModelObject
-
-
See Also:
-
PluginModelObject.isReadOnly()
setLocalizedValue
public void setLocalizedValue(
String value)
-
Deprecated.
- Optimization to replace a non-localized key with its localized value.
Avoids having to access resource bundles for further lookups.
-
-
Parameters:
-
value
- the localized value of this model object
setParent
public void setParent(
Object value)
-
Deprecated.
- Sets the parent of this element. The supplied parent is either an
ExtensionModel
,
if this element is to be a direct child of an extension, or another
ConfigurationElement
. This object must not be read-only.
-
-
Parameters:
-
value
- the new parent of this element. May be null
.
setProperties
public void setProperties(
ConfigurationPropertyModel[] value)
-
Deprecated.
- Sets the properties associated with this element. This object must not
be read-only.
-
-
Parameters:
-
value
- the properties to associate with this element. May be null
.
setSubElements
public void setSubElements(
ConfigurationElementModel[] value)
-
Deprecated.
- Sets configuration elements contained by this element This object must
not be read-only.
-
-
Parameters:
-
value
- the configuration elements to be associated with this
element. May be null
.
setValue
public void setValue(
String value)
-
Deprecated.
- Sets the value of this element. This object must not be read-only.
-
-
Parameters:
-
value
- the new value of this element. May be null
.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.