PluginPanel is a template class for plug-ins written for
QuickServer Admin GUI - QSAdminGUI.
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.
See Also: org.quickserver.util.xmlreader.QSAdminPluginConfig author: Akshathkumar Shetty |