|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.pkg.PackageInfo org.xnap.plugin.PluginInfo
public class PluginInfo
This class serves as a plugin information record.
Field Summary |
---|
Fields inherited from class org.xnap.pkg.PackageInfo |
---|
ACTION_INSTALL, DELIMETER, PACKAGE_STATUS_INSTALLED, STATUS_INSTALLED, STATUS_NOT_INSTALLED |
Constructor Summary | |
---|---|
PluginInfo(java.util.Properties props)
|
Method Summary | |
---|---|
boolean |
areRequirementsSatisfied()
|
boolean |
canDisable()
Returns true, if the plugin can be disabled. |
java.lang.String |
getAuthors()
Returns the name of the authors of the plugin. |
java.lang.String |
getClassName()
Returns the class name of the class that implements the Plugin interface. |
java.lang.String |
getDescription()
Returns a short description of the plugin's functionality. |
boolean |
getEnableOnStartup()
|
java.lang.String |
getLicense()
Returns the license plugin is published in. |
java.lang.String |
getLicenseFilename()
|
Plugin |
getPlugin()
Returns a reference to the plugin. |
java.lang.String |
getSection()
|
boolean |
isEnabled()
Returns true, if plugin has been loaded and enabled. |
boolean |
isLoaded()
Returns true, if plugin has been loaded. |
void |
setDisableable(boolean canDisable)
|
void |
setEnabled(boolean newValue)
Called by the PluginManager after the plugin has been
successfully enabled. |
void |
setEnableOnStartup(boolean newValue)
Called by the xnap.gui.wizard.PluginWizardPanel . |
void |
setPlugin(Plugin newValue)
Sets the reference to the instanciated plugin for this info record to newValue . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PluginInfo(java.util.Properties props)
Method Detail |
---|
public boolean areRequirementsSatisfied()
public boolean canDisable()
public java.lang.String getAuthors()
getAuthors
in class PackageInfo
public java.lang.String getClassName()
Plugin
interface.
public java.lang.String getDescription()
getDescription
in class PackageInfo
public boolean getEnableOnStartup()
public java.lang.String getLicense()
public java.lang.String getLicenseFilename()
public Plugin getPlugin()
public java.lang.String getSection()
getSection
in class PackageInfo
public boolean isEnabled()
public boolean isLoaded()
public void setDisableable(boolean canDisable)
public void setEnabled(boolean newValue)
PluginManager
after the plugin has been
successfully enabled.
public void setEnableOnStartup(boolean newValue)
xnap.gui.wizard.PluginWizardPanel
.
public void setPlugin(Plugin newValue)
newValue
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |