Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed the method that gave the stack-trace
  • Loading branch information
KlasJoensson committed Jul 20, 2012
1 parent e104407 commit d6bd615
Showing 1 changed file with 0 additions and 13 deletions.
Expand Up @@ -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;
Expand All @@ -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.
*
Expand Down Expand Up @@ -92,7 +89,6 @@ public void createControl(Composite parent) {
if (accountComposites.size() > 0) {
accountStack.topControl = accountComposites.get(0);
accountTypeCombo.select(0);
giveFocus();
}
setControl(container);
}
Expand All @@ -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.
Expand Down

0 comments on commit d6bd615

Please sign in to comment.