diff options
author | Damian Minkov <damencho@jitsi.org> | 2010-02-15 21:15:26 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2010-02-15 21:15:26 +0000 |
commit | bc15822b4fd12b3cff48ef3c1ee9baf512328c11 (patch) | |
tree | f981e9fce874bcb806ed407b856dfd42549dfed5 /src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java | |
parent | 21c929a50f0e05f4b657d1e3195c49972470ffdc (diff) | |
download | jitsi-bc15822b4fd12b3cff48ef3c1ee9baf512328c11.zip jitsi-bc15822b4fd12b3cff48ef3c1ee9baf512328c11.tar.gz jitsi-bc15822b4fd12b3cff48ef3c1ee9baf512328c11.tar.bz2 |
Update Facebook account wizard.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java')
-rw-r--r-- | src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java b/src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java index 90a228a..eecfd72 100644 --- a/src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java +++ b/src/net/java/sip/communicator/plugin/facebookaccregwizz/FacebookAccRegWizzActivator.java @@ -10,6 +10,7 @@ import java.util.*; import net.java.sip.communicator.service.gui.*;
import net.java.sip.communicator.service.protocol.*;
+import net.java.sip.communicator.service.browserlauncher.*;
import net.java.sip.communicator.util.*;
import org.osgi.framework.*;
@@ -22,6 +23,9 @@ import org.osgi.framework.*; public class FacebookAccRegWizzActivator
implements BundleActivator
{
+ /**
+ * The logger.
+ */
private static Logger logger
= Logger.getLogger(FacebookAccRegWizzActivator.class.getName());
@@ -30,13 +34,27 @@ public class FacebookAccRegWizzActivator */
public static BundleContext bundleContext;
+ /**
+ * The container.
+ */
private static WizardContainer wizardContainer;
+ /**
+ * Registration wizard.
+ */
private static FacebookAccountRegistrationWizard facebookWizard;
+ /**
+ * The UI service.
+ */
private static UIService uiService;
/**
+ * The browser launcher service.
+ */
+ private static BrowserLauncherService browserLauncherService;
+
+ /**
* Starts this bundle.
* @param bc the currently valid <tt>BundleContext</tt>.
*/
@@ -126,4 +144,24 @@ public class FacebookAccRegWizzActivator {
return uiService;
}
+
+ /**
+ * Gets the browser launcher service.
+ * @return the browser launcher service.
+ */
+ public static BrowserLauncherService getBrowserLauncher()
+ {
+ if (browserLauncherService == null)
+ {
+ ServiceReference serviceReference =
+ bundleContext.getServiceReference(BrowserLauncherService.class
+ .getName());
+
+ browserLauncherService =
+ (BrowserLauncherService) bundleContext
+ .getService(serviceReference);
+ }
+
+ return browserLauncherService;
+ }
}
|