public interface IPluginReference extends IIdentifiable, IMatchRules
| Modifier and Type | Field and Description |
|---|---|
static String |
P_MATCH
A name of the property that will be used to notify
about changes in the "match" field.
|
static String |
P_VERSION
A name of the property that will be used to notify
about changes in the "version" field.
|
P_IDCOMPATIBLE, EQUIVALENT, GREATER_OR_EQUAL, NONE, PERFECT, PREFIX, RULE_COMPATIBLE, RULE_EQUIVALENT, RULE_GREATER_OR_EQUAL, RULE_NAME_TABLE, RULE_PERFECT, RULE_PREFIX| Modifier and Type | Method and Description |
|---|---|
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.
|
getId, setIdstatic final String P_MATCH
static final String P_VERSION
int getMatch()
IMatchRulesString getVersion()
void setMatch(int match)
throws CoreException
match - the desired match typeCoreException - if the model is not editableIMatchRulesvoid setVersion(String version) throws CoreException
version - the required import plug-in versionCoreException - if the model is not editable
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.