aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java')
-rw-r--r--src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java b/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java
index 4061fd6..3395a24 100644
--- a/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java
+++ b/src/net/java/sip/communicator/plugin/sshaccregwizz/SSHAccRegWizzActivator.java
@@ -40,11 +40,13 @@ public class SSHAccRegWizzActivator
* A currently valid reference to the configuration service.
*/
private static ConfigurationService configService;
-
+
private static AccountRegistrationWizardContainer wizardContainer;
-
+
private static SSHAccountRegistrationWizard sshWizard;
+ private static UIService uiService;
+
/**
* Starts this bundle.
* @param bc the currently valid <tt>BundleContext</tt>.
@@ -58,8 +60,7 @@ public class SSHAccRegWizzActivator
ServiceReference uiServiceRef = bundleContext
.getServiceReference(UIService.class.getName());
- UIService uiService = (UIService) bundleContext
- .getService(uiServiceRef);
+ uiService = (UIService) bundleContext.getService(uiServiceRef);
wizardContainer = uiService.getAccountRegWizardContainer();
@@ -117,4 +118,14 @@ public class SSHAccRegWizzActivator
{
return bundleContext;
}
+
+ /**
+ * Returns the <tt>UIService</tt>.
+ *
+ * @return the <tt>UIService</tt>
+ */
+ public static UIService getUIService()
+ {
+ return uiService;
+ }
}