|
Eclipse PDE Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A model object that represents the content of the fragment.xml file.
| Field Summary | |
|---|---|
static String |
P_PLUGIN_ID
A property that will be used to notify that a plugin id has changed. |
static String |
P_PLUGIN_VERSION
A property that will be used to notify that a plugin version has changed. |
static String |
P_RULE
A property that will be used to notify that a plugin version match rule has changed. |
| Fields inherited from interface org.eclipse.pde.core.plugin.IPluginBase |
|---|
P_IMPORT_ORDER, P_LIBRARY_ORDER, P_PROVIDER, P_SCHEMA_VERSION, P_VERSION |
| 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 | |
|---|---|
String |
getPluginId()
Returns the id of the fragment host. |
String |
getPluginVersion()
Returns the version of the fragment host. |
int |
getRule()
Returns an optional version match rule as defined in IMatchRule interface. |
void |
setPluginId(String id)
Sets the id of the plug-in that will be the target of this fragment. |
void |
setPluginVersion(String version)
Sets the version of the plug-in that will be the target of this fragment.' |
void |
setRule(int rule)
Sets the optional version match rule as defined in IMatchRules. |
| Methods inherited from interface org.eclipse.pde.core.plugin.IPluginBase |
|---|
add, add, getImports, getLibraries, getProviderName, getSchemaVersion, getVersion, remove, remove, setProviderName, setSchemaVersion, setVersion, swap, swap |
| 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 |
public static final String P_PLUGIN_ID
public static final String P_PLUGIN_VERSION
public static final String P_RULE
| Method Detail |
public String getPluginId()
public String getPluginVersion()
public int getRule()
public void setPluginId(String id)
throws CoreException
id - the id of the referenced plug-in.
CoreException - attempts to modify a read-only fragment will result in an exception
public void setPluginVersion(String version)
throws CoreException
version - the version of the referenced version.
CoreException - attempts to modify a read-only fragment will result in an exception
public void setRule(int rule)
throws CoreException
rule - the match rule to be used when locating the referenced the plug-in.
CoreException - attempts to modify a read-only fragment will result in an exception
|
Eclipse PDE Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||