| org.eclipse.pde.core.plugin.IPluginReference
All known Subclasses: org.eclipse.pde.internal.ui.templates.PluginReference, org.eclipse.pde.internal.ui.wizards.templates.PluginReference,
IPluginReference | public interface IPluginReference extends IIdentifiable,IMatchRules(Code) | | Objects that implement this interface represent references of
plug-ins. Plug-ins are referenced using their identifiers,
and optionally versions and match rules.
|
Field Summary | |
String | P_MATCH A name of the property that will be used to notify
about changes in the "match" field. | String | P_VERSION A name of the property that will be used to notify
about changes in the "version" field. |
Method Summary | |
int | getMatch() Returns the required match for the imported plug-in. | String | getVersion() Returns the required version of the plug-in. | void | setMatch(int match) Sets the match type for the require plug-in. | void | setVersion(String version) Sets the desired version of the required plug-in. |
P_MATCH | String P_MATCH(Code) | | A name of the property that will be used to notify
about changes in the "match" field.
|
P_VERSION | String P_VERSION(Code) | | A name of the property that will be used to notify
about changes in the "version" field.
|
getMatch | int getMatch()(Code) | | Returns the required match for the imported plug-in. The
choices are defined in IMatchRules interface.
See Also: IMatchRules the desired type of the import plug-in match |
getVersion | String getVersion()(Code) | | Returns the required version of the plug-in.
required version or null if not set |
setMatch | void setMatch(int match) throws CoreException(Code) | | Sets the match type for the require plug-in.
This method will throw a CoreException if the model
is not editable.
See Also: IMatchRules Parameters: match - the desired match type |
setVersion | void setVersion(String version) throws CoreException(Code) | | Sets the desired version of the required plug-in.
This method will throw a CoreException if
the model is not editable.
Parameters: version - the required import plug-in version |
|
|