| |
|
| org.eclipse.pde.core.plugin.IFragment
All known Subclasses: org.eclipse.pde.internal.core.plugin.Fragment, org.eclipse.pde.internal.core.text.plugin.FragmentNode,
IFragment | public interface IFragment extends IPluginBase(Code) | | A model object that represents the content of the fragment.xml
file.
|
Field Summary | |
String | P_PLUGIN_ID A property that will be used to notify
that a plugin id has changed. | String | P_PLUGIN_VERSION A property that will be used to notify
that a plugin version has changed. | String | P_RULE A property that will be used to notify
that a plugin version match rule has changed. |
P_PLUGIN_ID | String P_PLUGIN_ID(Code) | | A property that will be used to notify
that a plugin id has changed.
|
P_PLUGIN_VERSION | String P_PLUGIN_VERSION(Code) | | A property that will be used to notify
that a plugin version has changed.
|
P_RULE | String P_RULE(Code) | | A property that will be used to notify
that a plugin version match rule has changed.
|
getPluginId | String getPluginId()(Code) | | Returns the id of the fragment host.
the host id |
getPluginVersion | String getPluginVersion()(Code) | | Returns the version of the fragment host.
the host version |
getRule | int getRule()(Code) | | Returns an optional version match rule as defined in
IMatchRule interface.
the match rule |
setPluginId | void setPluginId(String id) throws CoreException(Code) | | Sets the id of the plug-in that will be the target of this fragment.
Parameters: id - the id of the referenced plug-in. exception: org.eclipse.core.runtime.CoreException - attempts to modify a read-only fragment will result in an exception |
setPluginVersion | void setPluginVersion(String version) throws CoreException(Code) | | Sets the version of the plug-in that will be the target of this fragment.'
Parameters: version - the version of the referenced version. exception: org.eclipse.core.runtime.CoreException - attempts to modify a read-only fragment will result in an exception |
setRule | void setRule(int rule) throws CoreException(Code) | | Sets the optional version match rule as defined in IMatchRules. This
rule will be used when attempting to match the referenced plug-in
version.
Parameters: rule - the match rule to be used when locating the referenced the plug-in. exception: org.eclipse.core.runtime.CoreException - attempts to modify a read-only fragment will result in an exception |
|
|
|