Revision 5710b5c7
Added by Patrick Plitzner about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/VocabularyWizardPage.java | ||
---|---|---|
31 | 31 |
|
32 | 32 |
@Override |
33 | 33 |
protected void checkComplete() { |
34 |
setPageComplete(true);
|
|
34 |
setPageComplete(getEntity().getLabel()!=null);
|
|
35 | 35 |
} |
36 | 36 |
|
37 | 37 |
@Override |
38 | 38 |
public AbstractCdmDetailElement<TermVocabulary> createElement(ICdmFormElement rootElement) { |
39 | 39 |
TermVocabularyDetailElement detailElement = formFactory.createTermVocabularyDetailElement(rootElement); |
40 |
getEntity().setLabel(null); |
|
40 | 41 |
detailElement.setEntity(getEntity()); |
41 | 42 |
checkComplete(); |
42 | 43 |
return detailElement; |
Also available in: Unified diff
ref #7998 Set label for new vocabularies to null in new voc wizards