|
|
|
|
@ -34,6 +34,8 @@ public class RssAccRegWizzActivator
|
|
|
|
|
* A currently valid reference to the configuration service.
|
|
|
|
|
*/
|
|
|
|
|
private static ConfigurationService configService;
|
|
|
|
|
|
|
|
|
|
private static UIService uiService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Starts this bundle.
|
|
|
|
|
@ -48,8 +50,7 @@ public void start(BundleContext bc)
|
|
|
|
|
ServiceReference uiServiceRef = bundleContext
|
|
|
|
|
.getServiceReference(UIService.class.getName());
|
|
|
|
|
|
|
|
|
|
UIService uiService
|
|
|
|
|
= (UIService) bundleContext.getService(uiServiceRef);
|
|
|
|
|
uiService = (UIService) bundleContext.getService(uiServiceRef);
|
|
|
|
|
|
|
|
|
|
WizardContainer wizardContainer
|
|
|
|
|
= uiService.getAccountRegWizardContainer();
|
|
|
|
|
@ -107,6 +108,16 @@ public static ProtocolProviderFactory getRssProtocolProviderFactory()
|
|
|
|
|
|
|
|
|
|
return (ProtocolProviderFactory) bundleContext.getService(serRefs[0]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the <tt>UIService</tt>.
|
|
|
|
|
*
|
|
|
|
|
* @return the <tt>UIService</tt>
|
|
|
|
|
*/
|
|
|
|
|
public static UIService getUIService()
|
|
|
|
|
{
|
|
|
|
|
return uiService;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the bundleContext that we received when we were started.
|
|
|
|
|
|