Project

General

Profile

« Previous | Next » 

Revision 093e7cd5

Added by Katja Luther almost 3 years ago

ref #8776, #9630: d&d from voc to tree and disable time period if fact is disabled

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/supplementaldata/SupplementalDataPartE4.java
66 66
	    if(activePart==thisPart){
67 67
	        return;
68 68
	    }
69

  
69
	    setEnabled(true);
70 70
        Object partObject = createPartObject(activePart);
71 71

  
72 72
	    if(partObject instanceof IPartContentHasSupplementalData) {
......
112 112
	        }
113 113
	        else if(structuredSelection.getFirstElement() instanceof DescriptionElementBase ){
114 114
	            structuredSelection = new StructuredSelection((structuredSelection.getFirstElement()));
115
                if (((DescriptionElementBase)structuredSelection.getFirstElement()).getInDescription().isComputed()){
115

  
116
	            if (((DescriptionElementBase)structuredSelection.getFirstElement()).getInDescription().isComputed()){
116 117
                    if (PreferencesUtil.isComputedDesciptionHandlingDisabled()){
117 118
                        setEnabled(false);
118 119
                    }else{

Also available in: Unified diff