|
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.PluginDescriptorModel
An object which represents the user-defined contents of a plug-in in a plug-in manifest.
This class may be instantiated, or further subclassed.
Constructor Summary | |
PluginDescriptorModel()
Creates a new plug-in descriptor model in which all fields are null . |
Method Summary | |
boolean |
getEnabled()
|
PluginFragmentModel[] |
getFragments()
Returns the fragments installed for this plug-in. |
String |
getPluginClass()
Returns the fully qualified name of the Java class which implements the runtime support for this plug-in. |
String |
getPluginId()
Returns the unique identifier of the plug-in related to this model or null . |
void |
setEnabled(boolean value)
|
void |
setFragments(PluginFragmentModel[] value)
Sets the list of fragments for this plug-in. |
void |
setPluginClass(String value)
Sets the fully qualified name of the Java class which implements the runtime support for this plug-in. |
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 |
Constructor Detail |
public PluginDescriptorModel()
null
.
Method Detail |
public boolean getEnabled()
public PluginFragmentModel[] getFragments()
null
public String getPluginClass()
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 void setEnabled(boolean value)
public void setFragments(PluginFragmentModel[] value)
value
- the fragments for this plug-in. May be null
.public void setPluginClass(String value)
value
- the name of this plug-in's runtime class.
May be null
.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |