Project

General

Profile

« Previous | Next » 

Revision b5b429af

Added by Patrick Plitzner over 6 years ago

ref #6925 Inject context into operations to allow sync/async execution

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java
23 23
import org.eclipse.core.commands.operations.UndoContext;
24 24
import org.eclipse.core.runtime.IProgressMonitor;
25 25
import org.eclipse.core.runtime.OperationCanceledException;
26
import org.eclipse.e4.core.contexts.IEclipseContext;
26 27
import org.eclipse.e4.core.services.events.IEventBroker;
27 28
import org.eclipse.e4.ui.di.Focus;
28 29
import org.eclipse.e4.ui.di.Persist;
......
122 123
	@Inject
123 124
	private ESelectionService selService;
124 125

  
126
	@Inject
127
	private IEclipseContext context;
128

  
125 129
	@Inject
126 130
	private MDirtyable dirty;
127 131

  
......
477 481
		return allGroups;
478 482
	}
479 483

  
484
	@Override
485
	public IEclipseContext getContext() {
486
	    return context;
487
	}
488

  
480 489
	public boolean isDirty() {
481 490
		return dirty.isDirty();
482 491
	}

Also available in: Unified diff