Revision 3c2b5bba
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java | ||
---|---|---|
45 | 45 |
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails; |
46 | 46 |
import eu.etaxonomy.taxeditor.model.IPartContentHasFactualData; |
47 | 47 |
import eu.etaxonomy.taxeditor.model.IPartContentHasMedia; |
48 |
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData; |
|
48 | 49 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
49 | 50 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
50 | 51 |
|
... | ... | |
58 | 59 |
* @created 15.05.2008 |
59 | 60 |
* @version 1.0 |
60 | 61 |
*/ |
61 |
public class MultiPageTaxonEditor extends FormEditor implements
|
|
62 |
IPartContentHasFactualData, IConversationEnabled, IPostOperationEnabled,
|
|
63 |
IDirtyMarkable, IPartContentHasDetails, ISecuredEditor, IPartContentHasMedia, ITaxonEditor {
|
|
62 |
public class MultiPageTaxonEditor extends FormEditor |
|
63 |
implements IPartContentHasFactualData, IConversationEnabled, IPostOperationEnabled, IDirtyMarkable,
|
|
64 |
IPartContentHasDetails, IPartContentHasSupplementalData, ISecuredEditor, IPartContentHasMedia, ITaxonEditor {
|
|
64 | 65 |
|
65 | 66 |
/** Constant <code>ID="eu.etaxonomy.taxeditor.editor.taxon"{trunked}</code> */ |
66 | 67 |
public static final String ID = "eu.etaxonomy.taxeditor.editor.taxon"; //$NON-NLS-1$ |
... | ... | |
360 | 361 |
* |
361 | 362 |
* @return the accepted taxon |
362 | 363 |
*/ |
364 |
@Override |
|
363 | 365 |
public Taxon getTaxon() { |
364 | 366 |
return input.getTaxon(); |
365 | 367 |
} |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsPartE4.java | ||
---|---|---|
81 | 81 |
showViewer(structuredSelection, activePart); |
82 | 82 |
return; |
83 | 83 |
} |
84 |
else if(selectionProvidingPart.isVisible()){ |
|
85 |
return; |
|
86 |
} |
|
84 | 87 |
else{ |
85 | 88 |
showEmptyPage(); |
86 | 89 |
return; |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/supplementaldata/SupplementalDataPartE4.java | ||
---|---|---|
107 | 107 |
|
108 | 108 |
showViewer(structuredSelection, activePart); |
109 | 109 |
return; |
110 |
}else{ |
|
110 |
} |
|
111 |
else if(selectionProvidingPart.isVisible()){ |
|
112 |
return; |
|
113 |
} |
|
114 |
else{ |
|
111 | 115 |
showEmptyPage(); |
112 | 116 |
return; |
113 | 117 |
} |
Also available in: Unified diff
ref #6905, #6597 further improvement on selection evaluation