|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.model.PluginModelObject | +--org.eclipse.core.runtime.model.PluginModel | +--org.eclipse.core.runtime.model.PluginFragmentModel
An object which represents the user-defined contents of a plug-in fragment in a plug-in manifest.
This class may be instantiated, or further subclassed.
Field Summary | |
static byte |
FRAGMENT_MATCH_COMPATIBLE
|
static byte |
FRAGMENT_MATCH_EQUIVALENT
|
static byte |
FRAGMENT_MATCH_GREATER_OR_EQUAL
|
static byte |
FRAGMENT_MATCH_PERFECT
|
static byte |
FRAGMENT_MATCH_UNSPECIFIED
|
Constructor Summary | |
PluginFragmentModel()
Creates a new plug-in descriptor model in which all fields are null . |
Method Summary | |
byte |
getMatch()
Returns a byte code indicating the type of match this fragment requires when trying to find its associated plugin. |
String |
getPlugin()
Returns the fully qualified name of the plug-in for which this is a fragment |
String |
getPluginId()
Returns the unique identifier of the plug-in related to this model or null . |
String |
getPluginVersion()
Returns the version name of the plug-in for which this is a fragment. |
void |
setMatch(byte value)
Sets the type of match this fragment requires when trying to find its associated plugin. |
void |
setPlugin(String value)
Sets the fully qualified name of the plug-in for which this is a fragment This object must not be read-only. |
void |
setPluginVersion(String value)
Sets the version name of the plug-in for which this is a fragment. |
Methods inherited from class org.eclipse.core.runtime.model.PluginModel |
getDeclaredExtensionPoints, getDeclaredExtensions, getId, getLocation, getProviderName, getRegistry, getRequires, getRuntime, getVersion, markReadOnly, setDeclaredExtensionPoints, setDeclaredExtensions, setId, setLocation, setProviderName, setRegistry, setRequires, setRuntime, setVersion |
Methods inherited from class org.eclipse.core.runtime.model.PluginModelObject |
assertIsWriteable, getName, isReadOnly, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte FRAGMENT_MATCH_UNSPECIFIED
public static final byte FRAGMENT_MATCH_PERFECT
public static final byte FRAGMENT_MATCH_EQUIVALENT
public static final byte FRAGMENT_MATCH_COMPATIBLE
public static final byte FRAGMENT_MATCH_GREATER_OR_EQUAL
Constructor Detail |
public PluginFragmentModel()
null
.
Method Detail |
public byte getMatch()
public String getPlugin()
null
.public String getPluginId()
null
.
This identifier is a non-empty string and is unique
within the plug-in registry.
getPluginId
in class PluginModel
"com.example"
) or null
.public String getPluginVersion()
null
public void setMatch(byte value)
value
- the type of match required with the associated pluginpublic void setPlugin(String value)
value
- the name of this fragment's plug-in.
May be null
.public void setPluginVersion(String value)
value
- the version name of this fragment's plug-in.
May be null
.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |