Project

General

Profile

Revision 7be566bc

ID7be566bcbaab6e1293afc5022ac29146b4cd3356
Parent 31782a30
Child 19f11b2f

Added by Patrick Plitzner about 1 year ago

ref #7086 Set focus after dropping taxon node

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/TaxonNodeDropAdapter.java
38 38
    public boolean performDrop(Object data) {
39 39
        TaxonNodeDto taxonNodeDto = (TaxonNodeDto) ((ITreeSelection) data).getFirstElement();
40 40
        workingSetEditor.addTaxonNode(taxonNodeDto);
41
        workingSetEditor.setFocus();
41 42
        return true;
42 43
    }
43 44

  
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/WorkingSetEditor.java
208 208
            if(!taxonSubtreeFilter.iterator().next().getClassification().equals(taxonNode.getClassification())){
209 209
                MessagingUtils.warningDialog(Messages.TaxonNodeDropAdapter_CLASSIFICATIONS_NO_MATCH, this.getClass(),
210 210
                        Messages.TaxonNodeDropAdapter_CLASSIFICATIONS_NO_MATCH_MESSAGE);
211
                return;
211 212
            }
212

  
213 213
        }
214 214
        Viewer taxonTreeViewer = getTaxonTreeViewer();
215 215
        Object input = taxonTreeViewer.getInput();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)