1 2 3 4 5 6 7 8 9 10 11 12 13 |
public void run() { ... switch (wizard.getConclusiveAction()) { case 1: new NewAspectAction(false, selectedAssay).run(); break; case 2: new NewPersonAction(false, selectedAssay).run(); // this is the action that switches perspectives and causes problems break; } } |