aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java')
-rw-r--r--src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java b/src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java
index 2f39506..fb75e5f 100644
--- a/src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java
+++ b/src/net/java/sip/communicator/plugin/icqaccregwizz/IcqAccRegWizzActivator.java
@@ -27,6 +27,10 @@ public class IcqAccRegWizzActivator implements BundleActivator {
private static BrowserLauncherService browserLauncherService;
+ private static AccountRegistrationWizardContainer wizardContainer;
+
+ private static IcqAccountRegistrationWizard icqWizard;
+
/**
* Starts this bundle.
*/
@@ -40,16 +44,16 @@ public class IcqAccRegWizzActivator implements BundleActivator {
UIService uiService
= (UIService) bundleContext.getService(uiServiceRef);
- AccountRegistrationWizardContainer wizardContainer
- = uiService.getAccountRegWizardContainer();
+ wizardContainer = uiService.getAccountRegWizardContainer();
- IcqAccountRegistrationWizard icqWizard
- = new IcqAccountRegistrationWizard(wizardContainer);
+ icqWizard = new IcqAccountRegistrationWizard(wizardContainer);
wizardContainer.addAccountRegistrationWizard(icqWizard);
}
- public void stop(BundleContext bundleContext) throws Exception {
+ public void stop(BundleContext bundleContext) throws Exception
+ {
+ wizardContainer.removeAccountRegistrationWizard(icqWizard);
}
/**