public class PluginDescriptorModel extends PluginModel
This class may be instantiated, or further subclassed.
Constructor and Description |
---|
PluginDescriptorModel()
Deprecated.
Creates a new plug-in descriptor model in which all fields
are
null . |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled()
Deprecated.
Returns true if this plugin has all of it's prerequisites and is,
therefore enabled.
|
PluginFragmentModel[] |
getFragments()
Deprecated.
Returns the fragments installed for this plug-in.
|
String |
getPluginClass()
Deprecated.
Returns the fully qualified name of the Java class which implements
the runtime support for this plug-in.
|
String |
getPluginId()
Deprecated.
Returns the unique identifier of the plug-in related to this model
or
null . |
void |
setEnabled(boolean value)
Deprecated.
Sets the value of the field 'enabled' to the parameter 'value'.
|
void |
setFragments(PluginFragmentModel[] value)
Deprecated.
Sets the list of fragments for this plug-in.
|
void |
setPluginClass(String value)
Deprecated.
Sets the fully qualified name of the Java class which implements
the runtime support for this plug-in.
|
getDeclaredExtensionPoints, getDeclaredExtensions, getId, getLocation, getProviderName, getRegistry, getRequires, getRuntime, getSchemaVersion, getVersion, markReadOnly, setDeclaredExtensionPoints, setDeclaredExtensions, setId, setLocalizedProviderName, setLocation, setProviderName, setRegistry, setRequires, setRuntime, setSchemaVersion, setVersion
assertIsWriteable, getName, getStartLine, isReadOnly, setLocalizedName, setName, setStartLine, toString
public PluginDescriptorModel()
null
.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)
value
- set to false if this plugin should be disabled and
true otherwise.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
.
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.