|
Eclipse PDE Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPluginBase
A model object that represents the content of a plug-in or fragment manifest. This object contains data that is common for both plug-ins and fragments.
| Field Summary | |
|---|---|
static String |
P_IMPORT_ORDER
A property that will be used to notify that import order in a plug-in has changed. |
static String |
P_LIBRARY_ORDER
A property that will be used to notify that library order in a plug-in has changed. |
static String |
P_PROVIDER
A property that will be used to notify that the provider name has changed. |
static String |
P_SCHEMA_VERSION
A property that will be used to notify that 3.0 release compatibility flag has been changed. |
static String |
P_VERSION
A property that will be used to notify that a version has changed. |
| Fields inherited from interface org.eclipse.pde.core.plugin.IExtensions |
|---|
P_EXTENSION_ORDER |
| Fields inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
|---|
P_NAME |
| Fields inherited from interface org.eclipse.pde.core.IIdentifiable |
|---|
P_ID |
| Method Summary | |
|---|---|
void |
add(IPluginImport pluginImport)
Adds a new plug-in import to this plugin. |
void |
add(IPluginLibrary library)
Adds a new library to this plugin. |
IPluginImport[] |
getImports()
Returns imports defined in this plug-in. |
IPluginLibrary[] |
getLibraries()
Returns libraries referenced in this plug-in. |
String |
getProviderName()
Returns a name of the plug-in provider. |
String |
getSchemaVersion()
Returns version of the manifest grammar |
String |
getVersion()
Returns this plug-in's version |
void |
remove(IPluginImport pluginImport)
Removes an import from the plugin. |
void |
remove(IPluginLibrary library)
Removes a library from the plugin. |
void |
setProviderName(String providerName)
Sets the name of the plug-in provider. |
void |
setSchemaVersion(String schemaVersion)
Sets the R3.0 compatibility flag |
void |
setVersion(String version)
Sets the version of the plug-in. |
void |
swap(IPluginImport import1,
IPluginImport import2)
Swaps the positions of the plug-ins provided in in the dependency list. |
void |
swap(IPluginLibrary l1,
IPluginLibrary l2)
Swaps the positions of the provided libraries in the list of libraries. |
| Methods inherited from interface org.eclipse.pde.core.plugin.IExtensions |
|---|
add, add, getExtensionPoints, getExtensions, getIndexOf, remove, remove, swap |
| Methods inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
|---|
getModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setName |
| Methods inherited from interface org.eclipse.pde.core.IWritable |
|---|
write |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.pde.core.IIdentifiable |
|---|
getId, setId |
| Field Detail |
|---|
static final String P_PROVIDER
static final String P_VERSION
static final String P_LIBRARY_ORDER
static final String P_IMPORT_ORDER
static final String P_SCHEMA_VERSION
| Method Detail |
|---|
void add(IPluginLibrary library)
throws CoreException
library - the new library
CoreException
void add(IPluginImport pluginImport)
throws CoreException
pluginImport - the new import object
CoreException
void remove(IPluginImport pluginImport)
throws CoreException
pluginImport - the import object
CoreExceptionIPluginLibrary[] getLibraries()
IPluginImport[] getImports()
String getProviderName()
String getVersion()
void remove(IPluginLibrary library)
throws CoreException
library - the library object
CoreException
void setProviderName(String providerName)
throws CoreException
providerName - the new provider name
CoreException
void setVersion(String version)
throws CoreException
version - the new plug-in version
CoreException
void swap(IPluginLibrary l1,
IPluginLibrary l2)
throws CoreException
l1 - the first library objectl2 - the second library object
CoreException
void swap(IPluginImport import1,
IPluginImport import2)
throws CoreException
import1 - the first import objectimport2 - the second import object
CoreExceptionString getSchemaVersion()
void setSchemaVersion(String schemaVersion)
throws CoreException
schemaVersion - version of the manifest grammar
CoreException
|
Eclipse PDE Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.