|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.model.PluginModelObject | +--org.eclipse.core.runtime.model.ExtensionModel
An object which represents the user-defined extension in a plug-in manifest.
This class may be instantiated, or further subclassed.
Constructor Summary | |
ExtensionModel()
Creates a new extension model in which all fields are null . |
Method Summary | |
String |
getExtensionPoint()
Returns the extension point with which this extension is associated. |
String |
getId()
Returns the simple identifier of this extension, or null
if this extension does not have an identifier. |
PluginModel |
getParent()
Returns the plug-in model (descriptor or fragment) in which this extension is declared. |
PluginDescriptorModel |
getParentPluginDescriptor()
Returns the plug-in descriptor in which this extension is declared. |
ConfigurationElementModel[] |
getSubElements()
Returns the configuration element children of this extension. |
void |
markReadOnly()
Sets this model object and all of its descendents to be read-only. |
void |
setExtensionPoint(String value)
Set the extension point with which this extension is associated. |
void |
setId(String value)
Sets the simple identifier of this extension, or null
if this extension does not have an identifier. |
void |
setParent(PluginModel value)
Sets the plug-in model in which this extension is declared. |
void |
setParentPluginDescriptor(PluginDescriptorModel value)
Sets the plug-in descriptor in which this extension is declared. |
void |
setSubElements(ConfigurationElementModel[] value)
Sets the configuration element children of this extension. |
Methods inherited from class org.eclipse.core.runtime.model.PluginModelObject |
assertIsWriteable, getName, isReadOnly, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExtensionModel()
null
.
Method Detail |
public String getExtensionPoint()
null
public 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 null
public PluginModel getParent()
null
public PluginDescriptorModel getParentPluginDescriptor()
null
public ConfigurationElementModel[] getSubElements()
null
public void markReadOnly()
markReadOnly
in class PluginModelObject
PluginModelObject.isReadOnly()
public void setExtensionPoint(String value)
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
.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |