aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/gui
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2011-05-19 10:27:18 +0000
committerYana Stamcheva <yana@jitsi.org>2011-05-19 10:27:18 +0000
commit714712eef80d6acf39a6ae90cad9190e40939c3d (patch)
tree1b48ac779fe04cde5d517f2d81ad099cc6db252f /src/net/java/sip/communicator/service/gui
parent84f37df8c4bb728e2066a516c371ac971d257d33 (diff)
downloadjitsi-714712eef80d6acf39a6ae90cad9190e40939c3d.zip
jitsi-714712eef80d6acf39a6ae90cad9190e40939c3d.tar.gz
jitsi-714712eef80d6acf39a6ae90cad9190e40939c3d.tar.bz2
Check for create form for all account registration wizards before sending the user to the web registration page.
Diffstat (limited to 'src/net/java/sip/communicator/service/gui')
-rw-r--r--src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java9
-rw-r--r--src/net/java/sip/communicator/service/gui/UIService.java7
2 files changed, 16 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java b/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java
index e937f52..0aba34a 100644
--- a/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java
+++ b/src/net/java/sip/communicator/service/gui/AccountRegistrationWizard.java
@@ -157,12 +157,21 @@ public interface AccountRegistrationWizard
/**
* Defines the operation that will be executed when user clicks on the
* "Sign up" link.
+ *
* @throws UnsupportedOperationException if the web sign up operation is
* not supported by the current implementation.
*/
public void webSignup() throws UnsupportedOperationException;
/**
+ * Indicates if a sign up form is supported by this wizard.
+ *
+ * @return <tt>true</tt> if a sign up form is supported by this wizard,
+ * <tt>false</tt> - otherwise
+ */
+ public boolean isSignupSupported();
+
+ /**
* Returns the preferred dimensions of this wizard.
*
* @return the preferred dimensions of this wizard.
diff --git a/src/net/java/sip/communicator/service/gui/UIService.java b/src/net/java/sip/communicator/service/gui/UIService.java
index bb1ba5c..02018c1 100644
--- a/src/net/java/sip/communicator/service/gui/UIService.java
+++ b/src/net/java/sip/communicator/service/gui/UIService.java
@@ -388,6 +388,13 @@ public interface UIService
public ConfigurationContainer getConfigurationContainer();
/**
+ * Returns the create account window.
+ *
+ * @return the create account window
+ */
+ public CreateAccountWindow getCreateAccountWindow();
+
+ /**
* Adds the given <tt>WindowListener</tt> listening for events triggered
* by the main UIService component. This is normally the main application
* window component, the one containing the contact list. This listener