public interface PluginPanel
The plug-in class implementing this interface must also extend
javax.swing.JPanel
class. The plug-in class must be made into a jar and plugin.xml needs to be
written that describing the plug-in to QSAdminGUI. A sample xml is below
<qsadmin-plugin>
<name>Stats</name>
<desc>Server Status Panel</desc>
<type>javax.swing.JPanel</type>
<main-class>org.quickserver.net.qsadmin.plugin.stats.StatsPanel</main-class>
<active>yes</active>
</qsadmin-plugin>
Now both the jar and the plugin.xml file needs to be places in a
directory by the name of the plug-in and placed in the plugin folder of
QuickServer installation.
QSAdminPluginConfig
Modifier and Type | Method and Description |
---|---|
void |
activated()
This method is called when the tab where plugin is loaded is activated
|
void |
deactivated()
This method is called when the tab where plugin is loaded is deactivated
|
void |
init()
This method is called before it is added to QSAdminGUI.
|
boolean |
isActivated()
This method indicate if the plugin is in active or non-active state
|
void |
setQSAdminMain(QSAdminMain qsAdminMain)
This method is the first method called after plugin is instanced.
|
void |
updateConnectionStatus(boolean connected)
This method is called when connection status changes in QSAdminGUI.
|
void setQSAdminMain(QSAdminMain qsAdminMain)
void init()
void updateConnectionStatus(boolean connected)
void activated()
void deactivated()
boolean isActivated()
Copyright © 2003-2014 QuickServer.org