Package jetbrains.mps.smodel
Interface IOperationContext
- 
- All Known Implementing Classes:
 ConstraintsOperationContext,GlobalOperationContext,ModuleContext,ProjectOperationContext,StandaloneMPSContext
@Deprecated public interface IOperationContext
Deprecated.It appears that we always have a project and a module instances in the scope, where IOperationContext is being used. So in this case we should pass a project itself instead of passing an IOperationContext instance. The same needs to be done with a module. isValid and isTestMode are helping methods, which should be implemented in place. getComponent method should be replaced byProjectmethod getComponent for now. Later it needs to be replaced with a corresponding static method call getInstance of the component class {T}. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T> TgetComponent(Class<T> clazz)Deprecated.SModulegetModule()Deprecated.ProjectgetProject()Deprecated.booleanisTestMode()Deprecated.booleanisValid()Deprecated. 
 -