Project

General

Profile

« Previous | Next » 

Revision 88ce3c57

Added by Katja Luther over 6 years ago

minor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/operation/e4/RemotingCdmHandlerE4.java
14 14
import org.eclipse.core.runtime.IStatus;
15 15
import org.eclipse.e4.core.di.annotations.Execute;
16 16
import org.eclipse.e4.ui.di.UISynchronize;
17
import org.eclipse.e4.ui.model.application.MApplication;
17 18
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
18 19
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem;
19 20
import org.eclipse.e4.ui.services.IServiceConstants;
......
34 35

  
35 36
    protected String label;
36 37
    protected EPartService partService;
38
	protected MApplication application;
37 39

  
38 40
    public RemotingCdmHandlerE4(String label) {
39 41
        this.label = label;
......
43 45
    public void execute(@Named(IServiceConstants.ACTIVE_SELECTION)IStructuredSelection selection,
44 46
            @Named(IServiceConstants.ACTIVE_SHELL)Shell shell,
45 47
            @Named(IServiceConstants.ACTIVE_PART)MPart activePart,
46
            MHandledMenuItem menuItem, EPartService partService, UISynchronize sync) {
48
            MHandledMenuItem menuItem, EPartService partService, UISynchronize sync, MApplication application) {
47 49
        this.partService = partService;
50
        this.application = application;
48 51
        IStatus allowStatus = allowOperations(selection, shell, activePart, menuItem);
49 52
        if(allowStatus.isOK()) {
50 53
            AbstractOperation op = prepareOperation(selection, shell, activePart, menuItem);

Also available in: Unified diff