[sip-comm-dev] Help regarding configuration forms


#1

I am reading the developers documentation regarding UIService. While trying
to implement configuration form, i found no method named *
getConfigurationManager* in UIService as described in the manual (
http://www.sip-communicator.org/index.php/Documentation/UIService7). Am I
missed something or else? Please do help me.

Atul Aggarwal


#2

Looks like it's a typo- it should be getConfigurationWindow(). For instance
a plugin I'm working on uses the following in its activator:

    /**
     * Called when this bundle is started.
     * @param context The execution context of the bundle being started.
     */
    public void start(BundleContext context)
    {
        logger.debug("Service Impl: " + getClass().getName() + " [ STARTED
]");

        ServiceReference uiServiceRef =
                context.getServiceReference(UIService.class.getName());
        UIService uiService = (UIService) context.getService(uiServiceRef);
        ConfigurationWindow configWindow =
uiService.getConfigurationWindow();

        if (configWindow != null)
        {
            KeybindingsConfigForm keybindingsManager =
                    new KeybindingsConfigForm();

            configWindow.addConfigurationForm(keybindingsManager);
        }
    }

Hope this helps. -Damian

···

On Sun, May 18, 2008 at 7:00 AM, Atul Aggarwal <searchatul@gmail.com> wrote:

I am reading the developers documentation regarding UIService. While trying
to implement configuration form, i found no method named *
getConfigurationManager* in UIService as described in the manual (
http://www.sip-communicator.org/index.php/Documentation/UIService7). Am I
missed something or else? Please do help me.

Atul Aggarwal