Revision bd122e26
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/FactualDataPartE4.java | ||
---|---|---|
45 | 45 |
import eu.etaxonomy.taxeditor.bulkeditor.e4.BulkEditor; |
46 | 46 |
import eu.etaxonomy.taxeditor.editor.ITaxonEditor; |
47 | 47 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
48 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditor;
|
|
48 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonEditor; |
|
49 | 49 |
import eu.etaxonomy.taxeditor.editor.view.concept.e4.ConceptViewPartE4; |
50 | 50 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptionElementDragListener; |
51 | 51 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptionElementDropAdapter; |
... | ... | |
150 | 150 |
} |
151 | 151 |
|
152 | 152 |
Object firstElement = structuredSelection.getFirstElement(); |
153 |
if (partObject instanceof TaxonNameEditor){
|
|
154 |
if (firstElement != ((TaxonNameEditor)partObject).getTaxon()){
|
|
153 |
if (partObject instanceof TaxonEditor){ |
|
154 |
if (firstElement != ((TaxonEditor)partObject).getTaxon()){ |
|
155 | 155 |
showEmptyPage(); |
156 | 156 |
return; |
157 | 157 |
} |
Also available in: Unified diff
rename TaxonNameEditor to TaxonEditor and NameViewerE4 to NameViewer