public abstract class ContextFunction extends Object implements IContextFunction
IContextFunctionfor specific rules that must be followed by function implementations.
This class is intended to be subclassed by clients.
|Constructor and Description|
Constructs a new instance of the context function
|Modifier and Type||Method and Description|
Evaluates the function based on the provided arguments and context to produce a consistent result.
public Object compute(IEclipseContext context)
IContextFunction's compute() was changed to take the context key
public Object compute(IEclipseContext context, String contextKey)
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.