Project

General

Profile

« Previous | Next » 

Revision ae2066bc

Added by Patrick Plitzner over 3 years ago

ref #6805 Disallow dropping feature nodes above/below feature trees

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/FeatureTreeDropAdapter.java
166 166
        isSupported |= TermTransfer.getInstance().isSupportedType(transferData);
167 167
        isSupported |= LocalSelectionTransfer.getTransfer().isSupportedType(transferData);
168 168
        isSupported &= getViewer().getInput()!=null;
169
        if(target instanceof FeatureTree && getCurrentLocation()!=ViewerDropAdapter.LOCATION_ON){
170
            isSupported = false;
171
        }
169 172
        return isSupported;
170 173
    }
171 174

  

Also available in: Unified diff