|
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.PluginModel
An object which represents the user-defined contents of a plug-in model (either a descriptor or a fragment) in a plug-in manifest.
This class may not be instantiated, but may be further subclassed.
Constructor Summary | |
PluginModel()
Creates a new plug-in descriptor model in which all fields are null . |
Method Summary | |
ExtensionPointModel[] |
getDeclaredExtensionPoints()
Returns the extension points in this plug-in descriptor. |
ExtensionModel[] |
getDeclaredExtensions()
Returns the extensions in this plug-in descriptor. |
String |
getId()
Returns the unique identifier of this plug-in model or null . |
String |
getLocation()
Returns the location of the plug-in manifest file (e.g., plugin.xml )
which corresponds to this plug-in descriptor. |
abstract String |
getPluginId()
Returns the unique identifier of the plug-in related to this model or null . |
String |
getProviderName()
Returns the name of the provider who authored this plug-in. |
PluginRegistryModel |
getRegistry()
Returns the plug-in registry of which this plug-in descriptor is a member. |
PluginPrerequisiteModel[] |
getRequires()
Returns the prerequisites of this plug-in. |
LibraryModel[] |
getRuntime()
Returns the libraries configured for this plug-in. |
String |
getVersion()
Returns the version name of this plug-in. |
void |
markReadOnly()
Sets this model object and all of its descendents to be read-only. |
void |
setDeclaredExtensionPoints(ExtensionPointModel[] value)
Sets the extension points in this plug-in descriptor. |
void |
setDeclaredExtensions(ExtensionModel[] value)
Sets the extensions in this plug-in descriptor. |
void |
setId(String value)
Sets the unique identifier of this plug-in model. |
void |
setLocation(String value)
Sets the location of the plug-in manifest file (e.g., plugin.xml )
which corresponds to this plug-in descriptor. |
void |
setProviderName(String value)
Sets the name of the provider who authored this plug-in. |
void |
setRegistry(PluginRegistryModel value)
Sets the registry with which this plug-in descriptor is associated. |
void |
setRequires(PluginPrerequisiteModel[] value)
Sets the prerequisites of this plug-in. |
void |
setRuntime(LibraryModel[] value)
Sets the libraries configured for this plug-in. |
void |
setVersion(String value)
Sets the version name of this plug-in. |
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 PluginModel()
null
.
Method Detail |
public ExtensionPointModel[] getDeclaredExtensionPoints()
null
public ExtensionModel[] getDeclaredExtensions()
null
public String getId()
null
.
This identifier is a non-empty string and is unique
within the plug-in registry.
"com.example"
) or null
.public String getLocation()
plugin.xml
)
which corresponds to this plug-in descriptor. The location is in the
form of a URL.
null
.public abstract String getPluginId()
null
.
This identifier is a non-empty string and is unique
within the plug-in registry.
"com.example"
) or null
.public String getProviderName()
null
public PluginRegistryModel getRegistry()
null
if none.public PluginPrerequisiteModel[] getRequires()
null
public LibraryModel[] getRuntime()
null
public String getVersion()
null
public void markReadOnly()
markReadOnly
in class PluginModelObject
PluginModelObject.isReadOnly()
public void setDeclaredExtensionPoints(ExtensionPointModel[] value)
value
- the extension points in this plug-in descriptor.
May be null
.public void setDeclaredExtensions(ExtensionModel[] value)
value
- the extensions in this plug-in descriptor.
May be null
.public void setId(String value)
value
- the unique identifier of the plug-in model (e.g. "com.example"
).
May be null
.public void setLocation(String value)
plugin.xml
)
which corresponds to this plug-in descriptor. The location is in the
form of a URL.
This object must not be read-only.
value
- the location of this plug-in descriptor. May be null
.public void setProviderName(String value)
value
- name of the provider who authored this plug-in.
May be null
.public void setRegistry(PluginRegistryModel value)
value
- the registry with which this plug-in is associated.
May be null
.public void setRequires(PluginPrerequisiteModel[] value)
value
- the prerequisites of this plug-in. May be null
.public void setRuntime(LibraryModel[] value)
value
- the libraries configured for this plug-in. May be null
.public void setVersion(String value)
value
- the version name of this plug-in.
May be null
.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |