|
Eclipse PDE Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.pde.ui.templates.PluginReference
public class PluginReference
Implementation of the IPluginReference
This class may be instantiated. This class is not intended to be subclassed by clients.
IPluginReference| Field Summary |
|---|
| Fields inherited from interface org.eclipse.pde.core.plugin.IPluginReference |
|---|
P_MATCH, P_VERSION |
| Fields inherited from interface org.eclipse.pde.core.IIdentifiable |
|---|
P_ID |
| Fields inherited from interface org.eclipse.pde.core.plugin.IMatchRules |
|---|
COMPATIBLE, EQUIVALENT, GREATER_OR_EQUAL, NONE, PERFECT, PREFIX, RULE_COMPATIBLE, RULE_EQUIVALENT, RULE_GREATER_OR_EQUAL, RULE_NAME_TABLE, RULE_PERFECT, RULE_PREFIX |
| Constructor Summary | |
|---|---|
PluginReference(String id,
String version,
int match)
Constructs a plug-in reference to be used in the PDE template framework |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getId()
Returns a unique id of this object. |
int |
getMatch()
Returns the required match for the imported plug-in. |
String |
getVersion()
Returns the required version of the plug-in. |
void |
setId(String id)
Sets the id of this IIdentifiable to the provided value. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginReference(String id,
String version,
int match)
id - the id of the plug-inversion - the version of the plug-inmatch - the match rule for the plug-in IMatchRules| Method Detail |
|---|
public boolean equals(Object object)
equals in class Objectpublic int getMatch()
IPluginReference
getMatch in interface IPluginReferenceIMatchRulespublic String getVersion()
IPluginReference
getVersion in interface IPluginReference
public void setMatch(int match)
throws CoreException
IPluginReference
setMatch in interface IPluginReferencematch - the desired match type
CoreExceptionIMatchRules
public void setVersion(String version)
throws CoreException
IPluginReference
setVersion in interface IPluginReferenceversion - the required import plug-in version
CoreExceptionpublic String getId()
IIdentifiable
getId in interface IIdentifiable
public void setId(String id)
throws CoreException
IIdentifiable
setId in interface IIdentifiableid - a new id of this object
CoreException
|
Eclipse PDE Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.