Skip to main content
summaryrefslogtreecommitdiffstats
blob: a646b7da6f4a7222d32c471285487ed64f03953b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.eclipse.fx.ui.internal.lifecycle;

import org.eclipse.e4.core.contexts.ContextFunction;
import org.eclipse.e4.core.contexts.ContextInjectionFactory;
import org.eclipse.e4.core.contexts.IEclipseContext;

public class LifecycleContextFunction extends ContextFunction {
	
	@Override
	public Object compute(IEclipseContext context, String contextKey) {
		return ContextInjectionFactory.make(LifecycleServiceImpl.class, context);
	}

}

Back to the top