Revision 9dfd3706
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/key/ScopeRestrictionSection.java | ||
---|---|---|
1 | 1 |
/** |
2 |
*
|
|
2 |
* |
|
3 | 3 |
*/ |
4 | 4 |
package eu.etaxonomy.taxeditor.ui.section.key; |
5 | 5 |
|
... | ... | |
7 | 7 |
|
8 | 8 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
9 | 9 |
import eu.etaxonomy.cdm.model.common.DefinedTerm; |
10 |
import eu.etaxonomy.cdm.model.common.TermType; |
|
11 | 10 |
import eu.etaxonomy.cdm.model.description.PolytomousKey; |
12 | 11 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
13 | 12 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
... | ... | |
31 | 30 |
} |
32 | 31 |
|
33 | 32 |
@Override |
34 |
public DefinedTerm createNewElement() {
|
|
35 |
return DefinedTerm.NewInstance(TermType.Scope,"","Untitled","");
|
|
36 |
|
|
33 |
public DefinedTerm createNewElement() { |
|
34 |
return null;
|
|
35 |
|
|
37 | 36 |
} |
38 | 37 |
|
39 | 38 |
@Override |
Also available in: Unified diff
fix #3603 Avoid creation of dummy DefinedTerm