|
Eclipse Platform Release 3.0 |
||||||||||
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.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()
Deprecated. Creates a new plug-in descriptor model in which all fields are null . |
Method Summary | |
ExtensionPointModel[] |
getDeclaredExtensionPoints()
Deprecated. Returns the extension points in this plug-in descriptor. |
ExtensionModel[] |
getDeclaredExtensions()
Deprecated. Returns the extensions in this plug-in descriptor. |
String |
getId()
Deprecated. Returns the unique identifier of this plug-in model or null .
|
String |
getLocation()
Deprecated. Returns the location of the plug-in corresponding to this plug-in descriptor. |
abstract String |
getPluginId()
Deprecated. Returns the unique identifier of the plug-in related to this model or null .
|
String |
getProviderName()
Deprecated. Returns the name of the provider who authored this plug-in. |
PluginRegistryModel |
getRegistry()
Deprecated. Returns the plug-in registry of which this plug-in descriptor is a member. |
PluginPrerequisiteModel[] |
getRequires()
Deprecated. Returns the prerequisites of this plug-in. |
LibraryModel[] |
getRuntime()
Deprecated. Returns the libraries configured for this plug-in. |
String |
getSchemaVersion()
Deprecated. Returns the manifest schema version of this plug-in. |
String |
getVersion()
Deprecated. Returns the version name of this plug-in. |
void |
markReadOnly()
Deprecated. Sets this model object and all of its descendents to be read-only. |
void |
setDeclaredExtensionPoints(ExtensionPointModel[] value)
Deprecated. Sets the extension points in this plug-in descriptor. |
void |
setDeclaredExtensions(ExtensionModel[] value)
Deprecated. Sets the extensions in this plug-in descriptor. |
void |
setId(String value)
Deprecated. Sets the unique identifier of this plug-in model. |
void |
setLocalizedProviderName(String value)
Deprecated. Optimization to replace a non-localized key with its localized value. |
void |
setLocation(String value)
Deprecated. Sets the location of the plug-in manifest file (e.g., plugin.xml )
which corresponds to this plug-in descriptor. |
void |
setProviderName(String value)
Deprecated. Sets the name of the provider who authored this plug-in. |
void |
setRegistry(PluginRegistryModel value)
Deprecated. Sets the registry with which this plug-in descriptor is associated. |
void |
setRequires(PluginPrerequisiteModel[] value)
Deprecated. Sets the prerequisites of this plug-in. |
void |
setRuntime(LibraryModel[] value)
Deprecated. Sets the libraries configured for this plug-in. |
void |
setSchemaVersion(String value)
Deprecated. Sets the manifest schema version of this plug-in. |
void |
setVersion(String value)
Deprecated. Sets the version name of this plug-in. |
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 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()
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 setLocalizedProviderName(String value)
value
- the localized provider name for this model objectpublic 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
.public String getSchemaVersion()
The manifest schema version indicates which shape of plug-in manifest this is. This was introduced in 3.0; plug-ins created prior to then did not explicitly declare a manifest schema version.
null
.public void setSchemaVersion(String value)
The manifest schema version indicates which shape of plug-in manifest this is. This was introduced in 3.0; plug-ins created prior to then did not explicitly declare a manifest schema version.
value
- the manifest schema version of this plug-in.
May be null
.
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.