Permalink
Browse files

Removed the method that gave the stack-trace

  • Loading branch information...
KlasJoensson committed Jul 20, 2012
1 parent e104407 commit d6bd61542280ee00f2c3683a98c8bc4247798116
@@ -12,7 +12,6 @@
package net.bioclipse.usermanager;
import java.util.ArrayList;
import net.bioclipse.core.business.BioclipseException;
import net.bioclipse.usermanager.business.IUserManager;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
@@ -25,8 +24,6 @@
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import com.sun.xml.internal.ws.Closeable;
/**
* The wizard page that handles the different parts accounts.
*
@@ -92,7 +89,6 @@ public void createControl(Composite parent) {
if (accountComposites.size() > 0) {
accountStack.topControl = accountComposites.get(0);
accountTypeCombo.select(0);
giveFocus();
}
setControl(container);
}
@@ -113,19 +109,10 @@ public void handleEvent(Event event) {
accountStack.topControl = accountComposites.get(
accountTypeCombo.getSelectionIndex());
accountSettings.layout();
giveFocus();
}
}
}
/**
* This method gives focus to the component of the account composite that's
* chosen by the accounts focus method.
*/
private void giveFocus() {
addedAccounts.get(accountTypeCombo.getSelectionIndex()).giveFocus();
}
/**
* A method that creates a composite to be used when there isn't any
* plug-ins found.

0 comments on commit d6bd615

Please sign in to comment.