Revision a3b2f701
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/ConceptViewPart.java | ||
---|---|---|
56 | 56 |
return; |
57 | 57 |
} |
58 | 58 |
|
59 |
if(part instanceof AbstractGraphKeyEditor){ |
|
59 |
else if(part instanceof AbstractGraphKeyEditor){
|
|
60 | 60 |
showEmptyPage(); |
61 | 61 |
return; |
62 | 62 |
} |
63 | 63 |
|
64 |
if(part instanceof MultiPageTaxonEditor){ |
|
64 |
else if(part instanceof MultiPageTaxonEditor){
|
|
65 | 65 |
if(! part.equals(this.part)){ |
66 | 66 |
IEditorInput input = ((IEditorPart) part).getEditorInput(); |
67 | 67 |
showViewer(part, new StructuredSelection(input)); |
68 | 68 |
} |
69 | 69 |
showViewer(); |
70 | 70 |
} |
71 |
else { |
|
72 |
showEmptyPage(); |
|
73 |
} |
|
71 | 74 |
|
72 | 75 |
} |
73 | 76 |
|
Also available in: Unified diff
Empty concept view if an unsupported view is selected