aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2008-06-23 10:13:09 +0000
committerYana Stamcheva <yana@jitsi.org>2008-06-23 10:13:09 +0000
commitb04e3f61cbae18446baa86cb291a5c66405a06d4 (patch)
tree009794ddbcb83b718894e10ff45da35e99555c26 /src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
parentec05a7a407851d8994abbe087008041c7293452e (diff)
downloadjitsi-b04e3f61cbae18446baa86cb291a5c66405a06d4.zip
jitsi-b04e3f61cbae18446baa86cb291a5c66405a06d4.tar.gz
jitsi-b04e3f61cbae18446baa86cb291a5c66405a06d4.tar.bz2
New Account configuration forms.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java')
-rw-r--r--src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java b/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
index 0282f1d..00d0528 100644
--- a/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
+++ b/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
@@ -82,6 +82,8 @@ public class FirstWizardPage
private boolean firstAccount = false;
+ private boolean isPageCommitted = false;
+
/**
* Initial AccountID (null if new account)
* Used to check if there are modifications to the account
@@ -311,7 +313,7 @@ public class FirstWizardPage
/**
* Saves the user input when the "Next" wizard buttons is clicked.
*/
- public void pageNext()
+ public void commitPage()
{
//*
String host = hostField.getText();
@@ -369,6 +371,7 @@ public class FirstWizardPage
registration.setStrategy(this.strategyBox.getSelectedValue().toString());
}
//*/
+ isPageCommitted = true;
}
/**
@@ -669,4 +672,14 @@ public class FirstWizardPage
this.strategyLoader.setEnabled(e);
wizard.getWizardContainer().setNextFinishButtonEnabled(e);
}
+
+ public Object getSimpleForm()
+ {
+ return mainPanel;
+ }
+
+ public boolean isCommitted()
+ {
+ return isPageCommitted;
+ }
}