From c669db1679bd31a008def38bc462f37b6a462e9c Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Tue, 14 Jun 2011 15:03:59 +0000 Subject: [PATCH] Overrides a method indicating if a web signup is supported. --- .../sipaccregwizz/SIPAccountRegistrationWizard.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/net/java/sip/communicator/plugin/sipaccregwizz/SIPAccountRegistrationWizard.java b/src/net/java/sip/communicator/plugin/sipaccregwizz/SIPAccountRegistrationWizard.java index 1f7e32a7e..6e830d0c1 100644 --- a/src/net/java/sip/communicator/plugin/sipaccregwizz/SIPAccountRegistrationWizard.java +++ b/src/net/java/sip/communicator/plugin/sipaccregwizz/SIPAccountRegistrationWizard.java @@ -645,6 +645,19 @@ public boolean isSignupSupported() return false; } + /** + * Returns true if the web sign up is supported by the current + * implementation, false - otherwise. + * @return true if the web sign up is supported by the current + * implementation, false - otherwise + */ + public boolean isWebSignupSupported() + { + String webSignupLinkName = getWebSignupLinkName(); + + return webSignupLinkName != null && webSignupLinkName.length() > 0; + } + /** * Sets the create account view of this registration wizard. */