Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-10-22 04:28:51 +0000
committerslewis2005-10-22 04:28:51 +0000
commit051b799e74ff128bd76215d8d5441338e7e73ff2 (patch)
treed13c1eb2139b9c2acfdff36cac21e252b73e5579 /framework/bundles/org.eclipse.ecf.ui/src
parent0a41a9abef23b2a626866f458d8f84699071d031 (diff)
downloadorg.eclipse.ecf-051b799e74ff128bd76215d8d5441338e7e73ff2.tar.gz
org.eclipse.ecf-051b799e74ff128bd76215d8d5441338e7e73ff2.tar.xz
org.eclipse.ecf-051b799e74ff128bd76215d8d5441338e7e73ff2.zip
Removed superfluous code in JoinGroupWizard and JoinGroupWizard page
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.ui/src')
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizard.java41
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizardPage.java1
2 files changed, 4 insertions, 38 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizard.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizard.java
index 2a32c25fe..9e5360f4a 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizard.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizard.java
@@ -23,8 +23,8 @@ public class JoinGroupWizard extends Wizard {
private static final String DIALOG_SETTINGS = JoinGroupWizard.class.getName();
- JoinGroupWizardPage mainPage;
- ContainerDescription [] descriptions = null;
+ protected JoinGroupWizardPage mainPage;
+ protected ContainerDescription [] descriptions = null;
public JoinGroupWizard(IWorkbench workbench, String title, ContainerDescription [] descriptions) {
super();
@@ -44,7 +44,7 @@ public class JoinGroupWizard extends Wizard {
}
public void addPages() {
super.addPages();
- mainPage = new JoinGroupWizardPage();
+ mainPage = new JoinGroupWizardPage(descriptions);
addPage(mainPage);
}
@@ -61,40 +61,5 @@ public class JoinGroupWizard extends Wizard {
protected void finishPage(final IProgressMonitor monitor)
throws InterruptedException, CoreException {
- mainPage.saveDialogSettings();
- /*
- URIClientConnectAction client = null;
- String groupName = mainPage.getJoinGroupText();
- String nickName = mainPage.getNicknameText();
- String containerType = mainPage.getContainerType();
- String password = mainPage.getPasswordText();
- */
- //String namespace = mainPage.getNamespace();
- try {
- /*
- ID groupID = null;
- if (namespace != null) {
- groupID = IDFactory.getDefault().makeID(namespace,new Object[] { groupName });
- } else groupID = IDFactory.getDefault().makeStringID(groupName);
- client = new ClientConnectAction();
- client.setProject(project);
- client.setUsername(nickName);
- client.setTargetID(groupID);
- client.setContainerType(containerType);
- client.setData(password);
- client.run(null);
- */
- //URI uri = new URI(groupName);
- //URI fullURI = new URI(namespace+":"+groupName);
- /*
- client = new URIClientConnectAction(containerType,groupName,nickName,password,project);
- client.run(null);
- */
- } catch (Exception e) {
- /*
- String id = ClientPlugin.PLUGIN_ID;
- throw new CoreException(new Status(Status.ERROR, id, 100, "Could not connect to "+groupName, e));
- */
- }
}
}
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizardPage.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizardPage.java
index d437cbc16..edbe0095d 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizardPage.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/JoinGroupWizardPage.java
@@ -62,6 +62,7 @@ public class JoinGroupWizardPage extends WizardPage {
super("wizardPage");
setTitle(PAGE_TITLE);
setDescription(PAGE_DESCRIPTION);
+ this.descriptions = descriptions;
}
public JoinGroupWizardPage() {

Back to the top