public class ExtensionModel extends PluginModelObject
This class may be instantiated, or further subclassed.
| Constructor and Description |
|---|
ExtensionModel()
Deprecated.
Creates a new extension model in which all fields are
null. |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtensionPoint()
Deprecated.
Returns the extension point with which this extension is associated.
|
String |
getId()
Deprecated.
Returns the simple identifier of this extension, or
null
if this extension does not have an identifier. |
PluginModel |
getParent()
Deprecated.
Returns the plug-in model (descriptor or fragment) in which this
extension is declared.
|
PluginDescriptorModel |
getParentPluginDescriptor()
Deprecated.
Returns the plug-in descriptor in which this extension is declared.
|
ConfigurationElementModel[] |
getSubElements()
Deprecated.
Returns the configuration element children of this extension.
|
void |
markReadOnly()
Deprecated.
Sets this model object and all of its descendents to be read-only.
|
void |
setExtensionPoint(String value)
Deprecated.
Set the extension point with which this extension is associated.
|
void |
setId(String value)
Deprecated.
Sets the simple identifier of this extension, or
null if
this extension does not have an identifier. |
void |
setParent(PluginModel value)
Deprecated.
Sets the plug-in model in which this extension is declared.
|
void |
setParentPluginDescriptor(PluginDescriptorModel value)
Deprecated.
Sets the plug-in descriptor in which this extension is declared.
|
void |
setSubElements(ConfigurationElementModel[] value)
Deprecated.
Sets the configuration element children of this extension.
|
assertIsWriteable, getName, getStartLine, isReadOnly, setLocalizedName, setName, setStartLine, toStringpublic ExtensionModel()
null.public String getExtensionPoint()
nullpublic String getId()
null
if this extension does not have an identifier. This identifier is
specified in the plug-in manifest as a non-empty string containing no
period characters ('.') and must be unique within the
defining plug-in."main")
or nullpublic PluginModel getParent()
nullpublic PluginDescriptorModel getParentPluginDescriptor()
nullpublic ConfigurationElementModel[] getSubElements()
nullpublic void markReadOnly()
markReadOnly in class PluginModelObjectPluginModelObject.isReadOnly()public void setExtensionPoint(String value)
value - the extension point with which this extension is associated. May
be null.public void setId(String value)
null if
this extension does not have an identifier. This identifier is specified
in the plug-in manifest as a non-empty string containing no period
characters ('.') and must be unique within the defining
plug-in. This object must not be read-only.value - the simple identifier of the extension (e.g. "main").
May be null.public void setParent(PluginModel value)
value - the plug-in model in which this extension is declared. May be
null.public void setParentPluginDescriptor(PluginDescriptorModel value)
value - the plug-in descriptor in which this extension is declared.
May be null.public void setSubElements(ConfigurationElementModel[] value)
value - the configuration elements in this extension. May be null.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.