Revision 963170aa
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/handler/defaultHandler/DefaultOpenSpecimenEditorForTypeSpecimenHandler.java | ||
---|---|---|
2 | 2 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
3 | 3 |
import org.eclipse.e4.ui.workbench.modeling.EPartService; |
4 | 4 |
import org.eclipse.e4.ui.workbench.modeling.EPartService.PartState; |
5 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
6 | 5 |
import org.eclipse.swt.widgets.Shell; |
7 | 6 |
|
8 | 7 |
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation; |
... | ... | |
31 | 30 |
} |
32 | 31 |
|
33 | 32 |
@Override |
34 |
protected boolean canExecute(IStructuredSelection entity) {
|
|
33 |
protected boolean canExecute(Object entity) {
|
|
35 | 34 |
return true; |
36 | 35 |
} |
37 | 36 |
|
Also available in: Unified diff
ref #8890: allow multiselect for open in dynamic menu