|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
package net.java.sip.communicator.service.gui;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The <tt>ConfigurationManager</tt> is a contianer contianing
|
|
|
|
|
* The <tt>ConfigurationWindow</tt> is a contianer contianing
|
|
|
|
|
* <tt>ConfigurationForm</tt>s. It is meant to be implemented by the
|
|
|
|
|
* UIService implementation to provide a mechanism for adding and removing
|
|
|
|
|
* configuration forms in the GUI.
|
|
|
|
|
@ -17,16 +17,16 @@
|
|
|
|
|
* each bundle is able to provide its own configuration form in the UI by adding
|
|
|
|
|
* it through this interface.
|
|
|
|
|
* <p>
|
|
|
|
|
* The <tt>ConfigurationManager</tt> for the current ui implementation could
|
|
|
|
|
* be obtained by invoking <code>UIService.getConfigurationManager</code> method.
|
|
|
|
|
* The <tt>ConfigurationWindow</tt> for the current ui implementation could
|
|
|
|
|
* be obtained by invoking <code>UIService.getConfigurationWindow</code> method.
|
|
|
|
|
*
|
|
|
|
|
* @author Yana Stamcheva
|
|
|
|
|
*/
|
|
|
|
|
public interface ConfigurationManager extends ApplicationWindow {
|
|
|
|
|
public interface ConfigurationWindow extends ApplicationWindow {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Adds the given <tt>ConfigurationForm</tt> in this
|
|
|
|
|
* <tt>ConfigurationManager</tt>. Meant to be used by bundles that want to
|
|
|
|
|
* <tt>ConfigurationWindow</tt>. Meant to be used by bundles that want to
|
|
|
|
|
* add to the UI their own specific configuration forms.
|
|
|
|
|
* @param configForm The <tt>ConfigurationForm</tt> to add.
|
|
|
|
|
* @throws ClassCastException if the contained form object in the given
|
|
|
|
|
@ -38,11 +38,11 @@ public void addConfigurationForm(ConfigurationForm configForm)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Removes the given <tt>ConfigurationForm</tt> from this
|
|
|
|
|
* <tt>ConfigurationManager</tt>.
|
|
|
|
|
* <tt>ConfigurationWindow</tt>.
|
|
|
|
|
*
|
|
|
|
|
* @param configForm The <tt>ConfigurationForm</tt> to remove.
|
|
|
|
|
* @throws IllegalArgumentException if the given <tt>ConfigurationForm</tt>
|
|
|
|
|
* is not contained in this <tt>ConfigurationManager</tt>.
|
|
|
|
|
* is not contained in this <tt>ConfigurationWindow</tt>.
|
|
|
|
|
*/
|
|
|
|
|
public void removeConfigurationForm(ConfigurationForm configForm)
|
|
|
|
|
throws IllegalArgumentException;
|