Revision eb759485
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/CopyHandlerE4.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
import org.eclipse.core.runtime.IStatus; |
14 | 14 |
import org.eclipse.e4.core.di.annotations.CanExecute; |
15 |
import org.eclipse.e4.core.di.annotations.Execute; |
|
15 | 16 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
16 | 17 |
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem; |
17 | 18 |
import org.eclipse.e4.ui.services.IServiceConstants; |
... | ... | |
33 | 34 |
*/ |
34 | 35 |
public class CopyHandlerE4 { |
35 | 36 |
|
37 |
@Execute |
|
36 | 38 |
public void execute(@Named(IServiceConstants.ACTIVE_SELECTION)TreeSelection selection, |
37 | 39 |
@Named(IServiceConstants.ACTIVE_PART)MPart activePart, |
38 | 40 |
MHandledMenuItem menuItem) { |
Also available in: Unified diff
ref #6909 Add missing @Execute annotation