Project

General

Profile

« Previous | Next » 

Revision fbb8b34c

Added by Andreas Müller almost 3 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/ChangeSynonymToAcceptedTaxonHandlerE4.java
56 56
 * @since Aug 28, 2017
57 57
 */
58 58
public class ChangeSynonymToAcceptedTaxonHandlerE4 implements IPostOperationEnabled {
59
	private static final Logger logger = Logger
60
			.getLogger(ChangeSynonymToAcceptedTaxonHandlerE4.class);
59

  
60
    private static final Logger logger = Logger.getLogger(ChangeSynonymToAcceptedTaxonHandlerE4.class);
61 61

  
62 62
	private TaxonNameEditorE4 editor;
63 63
    private EPartService partService;
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/CdmSectionPart.java
70 70

  
71 71
	@Override
72 72
	public boolean setFormInput(Object input) {
73
        if (formSection.isDisposed()){
74
            return false;
75
        }
76

  
73 77
	    this.rootInput = input;
74 78
	    //FIXME (CM): Need to fix this part of the design.
75 79
	    //The design seems to be locked to the idea that only one
......
79 83
		if (input instanceof IElementHasDetails) {
80 84
			input = ((IElementHasDetails) input).getData();
81 85
		}
82
		if (formSection.isDisposed()){
83
		    return false;
84
		}
86

  
85 87
		if ((input instanceof TaxonBase)
86 88
				&& (formSection instanceof ITaxonBaseDetailSection)) {
87 89
			((ITaxonBaseDetailSection) formSection)

Also available in: Unified diff