Revision df1b7e8c
Added by Lutz Suhrbier over 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/MisapplicationContainer.java | ||
---|---|---|
16 | 16 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
17 | 17 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
18 | 18 |
import eu.etaxonomy.taxeditor.preference.Resources; |
19 |
import eu.etaxonomy.taxeditor.singlesource.editor.name.container.EditorAnnotationFacade; |
|
19 | 20 |
|
20 | 21 |
/** |
21 | 22 |
* <p>MisapplicationContainer class.</p> |
... | ... | |
92 | 93 |
* @see eu.etaxonomy.taxeditor.editor.name.container.AbstractGroupedContainer#showAnnotations() |
93 | 94 |
*/ |
94 | 95 |
@Override |
95 |
public void showAnnotations() { |
|
96 |
public void showAnnotations() throws OperationNotSupportedException {
|
|
96 | 97 |
if(getData().getSec() == null){ |
97 | 98 |
getNameViewer().addAnnotation( |
98 |
new EditorAnnotation(0, "This misapplication requires a sec. reference.")); |
|
99 |
new EditorAnnotationFacade(0, "This misapplication requires a sec. reference."));
|
|
99 | 100 |
} |
100 | 101 |
super.showAnnotations(); |
101 | 102 |
} |
Also available in: Unified diff
Compiliert unter RAP, und scheint unter RCP soweit zu laufen.