aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java')
-rw-r--r--src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java b/src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java
index 6d3e36a..0e0f953 100644
--- a/src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java
+++ b/src/net/java/sip/communicator/plugin/msnaccregwizz/MsnAccRegWizzActivator.java
@@ -27,9 +27,11 @@ public class MsnAccRegWizzActivator implements BundleActivator {
private static ConfigurationService configService;
private static AccountRegistrationWizardContainer wizardContainer;
-
+
private static MsnAccountRegistrationWizard msnWizard;
-
+
+ private static UIService uiService;
+
/**
* Starts this bundle.
* @param bc BundleContext
@@ -42,7 +44,7 @@ public class MsnAccRegWizzActivator implements BundleActivator {
ServiceReference uiServiceRef = bundleContext
.getServiceReference(UIService.class.getName());
- UIService uiService
+ uiService
= (UIService) bundleContext.getService(uiServiceRef);
wizardContainer = uiService.getAccountRegWizardContainer();
@@ -79,4 +81,14 @@ public class MsnAccRegWizzActivator implements BundleActivator {
return (ProtocolProviderFactory) bundleContext.getService(serRefs[0]);
}
+
+ /**
+ * Returns the <tt>UIService</tt>.
+ *
+ * @return the <tt>UIService</tt>
+ */
+ public static UIService getUIService()
+ {
+ return uiService;
+ }
}