List Info

Thread: Help regarding configuration forms




Help regarding configuration forms
user name
2008-05-18 09:00:20
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
Re: Help regarding configuration forms
user name
2008-05-19 19:39:28
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 < searchatulgmail.com">searchatulgmail.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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )