public abstract class PluginModel extends PluginModelObject
This class may not be instantiated, but may be further subclassed.
| Constructor and Description |
|---|
PluginModel()
Deprecated.
Creates a new plug-in descriptor model in which all fields
are
null. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
assertIsWriteable, getName, getStartLine, isReadOnly, setLocalizedName, setName, setStartLine, toStringpublic PluginModel()
null.public ExtensionPointModel[] getDeclaredExtensionPoints()
nullpublic ExtensionModel[] getDeclaredExtensions()
nullpublic 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()
nullpublic PluginRegistryModel getRegistry()
null if none.public PluginPrerequisiteModel[] getRequires()
nullpublic LibraryModel[] getRuntime()
nullpublic String getVersion()
nullpublic void markReadOnly()
markReadOnly in class PluginModelObjectPluginModelObject.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.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.