| |
|
| org.eclipse.pde.core.plugin.IPluginBase
All known Subclasses: org.eclipse.pde.internal.core.text.plugin.PluginBaseNode, org.eclipse.pde.internal.core.plugin.PluginBase,
IPluginBase | public interface IPluginBase extends IExtensions,IIdentifiable(Code) | | A model object that represents the content of a plug-in or
fragment manifest. This object contains data that is common
for bo plug-ins and fragments.
|
Field Summary | |
String | P_IMPORT_ORDER A property that will be used to notify
that import order in a plug-in has changed. | String | P_LIBRARY_ORDER A property that will be used to notify
that library order in a plug-in has changed. | String | P_PROVIDER A property that will be used to notify that
the provider name has changed. | String | P_SCHEMA_VERSION A property that will be used to notify
that 3.0 release compatibility flag has been changed. | String | P_VERSION A property that will be used to notify
that a version has changed. |
P_IMPORT_ORDER | String P_IMPORT_ORDER(Code) | | A property that will be used to notify
that import order in a plug-in has changed.
|
P_LIBRARY_ORDER | String P_LIBRARY_ORDER(Code) | | A property that will be used to notify
that library order in a plug-in has changed.
|
P_PROVIDER | String P_PROVIDER(Code) | | A property that will be used to notify that
the provider name has changed.
|
P_SCHEMA_VERSION | String P_SCHEMA_VERSION(Code) | | A property that will be used to notify
that 3.0 release compatibility flag has been changed.
|
P_VERSION | String P_VERSION(Code) | | A property that will be used to notify
that a version has changed.
|
add | void add(IPluginLibrary library) throws CoreException(Code) | | Adds a new library to this plugin.
This method will throw a CoreException if
model is not editable.
Parameters: library - the new library |
add | void add(IPluginImport pluginImport) throws CoreException(Code) | | Adds a new plug-in import to this plugin.
This method will throw a CoreException if
model is not editable.
Parameters: pluginImport - the new import object |
getImports | IPluginImport[] getImports()(Code) | | Returns imports defined in this plug-in.
an array of import objects |
getLibraries | IPluginLibrary[] getLibraries()(Code) | | Returns libraries referenced in this plug-in.
an array of libraries |
getProviderName | String getProviderName()(Code) | | Returns a name of the plug-in provider.
plug-in provider name |
getSchemaVersion | String getSchemaVersion()(Code) | | Returns version of the manifest grammar
version of the manifest grammar, or null |
getVersion | String getVersion()(Code) | | Returns this plug-in's version
the version of the plug-in |
remove | void remove(IPluginImport pluginImport) throws CoreException(Code) | | Removes an import from the plugin. This
method will throw a CoreException if
the model is not editable.
Parameters: pluginImport - the import object |
remove | void remove(IPluginLibrary library) throws CoreException(Code) | | Removes a library from the plugin. This
method will throw a CoreException if
the model is not editable.
Parameters: library - the library object |
setProviderName | void setProviderName(String providerName) throws CoreException(Code) | | Sets the name of the plug-in provider.
This method will throw a CoreException
if the model is not editable.
Parameters: providerName - the new provider name |
setSchemaVersion | void setSchemaVersion(String schemaVersion) throws CoreException(Code) | | Sets the R3.0 compatibility flag
Parameters: schemaVersion - version of the manifest grammar |
setVersion | void setVersion(String version) throws CoreException(Code) | | Sets the version of the plug-in.
This method will throw a CoreException
if the model is not editable.
Parameters: version - the new plug-in version |
swap | void swap(IPluginLibrary l1, IPluginLibrary l2) throws CoreException(Code) | | Swaps the positions of the provided libraries
in the list of libraries. Libraries are looked up
by the class loader in the order of declaration.
If two libraries contain classes with the same
name, library order will determine which one is
encountered first.
Parameters: l1 - the first library object Parameters: l2 - the second library object |
swap | void swap(IPluginImport import1, IPluginImport import2) throws CoreException(Code) | | Swaps the positions of the plug-ins provided in
in the dependency list. This order is the one used
used by the classloader when loading classes.
Parameters: import1 - the first import object Parameters: import2 - the second import object |
|
|
|