Revision eb759485
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/DeleteHandlerE4.java | ||
---|---|---|
16 | 16 |
import javax.inject.Named; |
17 | 17 |
|
18 | 18 |
import org.eclipse.e4.core.di.annotations.CanExecute; |
19 |
import org.eclipse.e4.core.di.annotations.Execute; |
|
19 | 20 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
20 | 21 |
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem; |
21 | 22 |
import org.eclipse.e4.ui.services.IServiceConstants; |
... | ... | |
56 | 57 |
protected static final String DO_YOU_REALLY_WANT_TO_DELETE_THE_CLASSIFICATION = Messages.DeleteHandler_DELETE_CLASSIFICATION; |
57 | 58 |
protected static final String CONFIRM_DELETION = Messages.DeleteHandler_CONFIRM_DELETE; |
58 | 59 |
|
60 |
@Execute |
|
59 | 61 |
public void execute(@Named(IServiceConstants.ACTIVE_SELECTION)TreeSelection selection, |
60 | 62 |
@Named(IServiceConstants.ACTIVE_SHELL)Shell shell, |
61 | 63 |
@Named(IServiceConstants.ACTIVE_PART)MPart activePart, |
Also available in: Unified diff
ref #6909 Add missing @Execute annotation