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