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 by Project method getComponent for now. Later it needs to be replaced with a corresponding static method call getInstance of the component class {T}.
    • Method Detail

      • getProject

        Project getProject()
        Deprecated.
      • getModule

        SModule getModule()
        Deprecated.
      • isValid

        boolean isValid()
        Deprecated.
      • isTestMode

        boolean isTestMode()
        Deprecated.
      • getComponent

        <T> T getComponent​(Class<T> clazz)
        Deprecated.