Revision f2199620
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java | ||
---|---|---|
650 | 650 |
Object selectionToSet = selection; |
651 | 651 |
if(selection.size() == 1){ |
652 | 652 |
selectionToSet = selection.getFirstElement(); |
653 |
if (selectionToSet instanceof Object[]){ |
|
654 |
Object[] selectionArray = (Object[])selectionToSet; |
|
655 |
selectionToSet = selectionArray; |
|
656 |
} |
|
657 | 653 |
} |
658 | 654 |
else if(!selection.isEmpty()){ |
659 | 655 |
selectionToSet = selection.toArray(); |
Also available in: Unified diff
ref #7010 Allow multiple selection for derivative delete handler