Revision 8f5ccc1e
Added by Katja Luther almost 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTeamWizard.java | ||
---|---|---|
24 | 24 |
*/ |
25 | 25 |
public class NewTeamWizard extends AbstractNewEntityWizard<Team> { |
26 | 26 |
|
27 |
|
|
27 |
private boolean isNomenclaturalTeam = false; |
|
28 |
|
|
28 | 29 |
public NewTeamWizard() {} |
29 |
|
|
30 |
|
|
30 | 31 |
public NewTeamWizard(boolean b) { |
31 |
//FIXME somethings needs to be done here
|
|
32 |
setNomenclaturalTeam(b);
|
|
32 | 33 |
} |
33 | 34 |
|
34 | 35 |
/** {@inheritDoc} */ |
35 | 36 |
@Override |
36 | 37 |
public void addPages() { |
37 |
addPage(new TeamWizardPage(formFactory, getConversationHolder(), getEntity())); |
|
38 |
addPage(new TeamWizardPage(formFactory, getConversationHolder(), getEntity(), isNomenclaturalTeam));
|
|
38 | 39 |
} |
39 | 40 |
|
40 | 41 |
/* (non-Javadoc) |
... | ... | |
60 | 61 |
protected String getEntityName() { |
61 | 62 |
return "Team"; |
62 | 63 |
} |
64 |
|
|
65 |
/** |
|
66 |
* @return the isNomenclaturalTeam |
|
67 |
*/ |
|
68 |
public boolean isNomenclaturalTeam() { |
|
69 |
return isNomenclaturalTeam; |
|
70 |
} |
|
71 |
|
|
72 |
/** |
|
73 |
* @param isNomenclaturalTeam the isNomenclaturalTeam to set |
|
74 |
*/ |
|
75 |
public void setNomenclaturalTeam(boolean isNomenclaturalTeam) { |
|
76 |
this.isNomenclaturalTeam = isNomenclaturalTeam; |
|
77 |
} |
|
63 | 78 |
} |
Also available in: Unified diff
add nomenclatural author search for team members