public abstract class CachingContextFunction
extends org.eclipse.e4.core.contexts.ContextFunction
| Constructor and Description |
|---|
CachingContextFunction(java.lang.Class<?> clazz)
Create a instance
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
compute(org.eclipse.e4.core.contexts.IEclipseContext context) |
java.lang.Object |
compute(org.eclipse.e4.core.contexts.IEclipseContext context,
java.lang.String contextKey) |
public CachingContextFunction(java.lang.Class<?> clazz)
clazz - the class to create an instance ofpublic final java.lang.Object compute(org.eclipse.e4.core.contexts.IEclipseContext context)
compute in class org.eclipse.e4.core.contexts.ContextFunctionpublic final java.lang.Object compute(org.eclipse.e4.core.contexts.IEclipseContext context,
java.lang.String contextKey)
compute in interface org.eclipse.e4.core.contexts.IContextFunctioncompute in class org.eclipse.e4.core.contexts.ContextFunction