org.eclipse.handly.model.impl

## Interface IModelImpl

- All Superinterfaces:
    IModel

      public interface IModelImpl
      extends IModel

  All `IModel`s must implement this interface.
  Restriction:
    This interface is not intended to be extended by clients.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getModelApiLevel_()` Returns the Handly API level supported by the model; one of the level constants declared in `ApiLevel`.
    `IContext` | `getModelContext_()` Returns a context which provides information and services pertaining to this model.

- - ### Method Detail

    - #### getModelContext_

          IContext getModelContext_()

      Returns a context which provides information and services pertaining to this model. The context, as a set of bindings, is immutable. The relationship between a model and its context does not change over the lifetime of the model.
      Returns:
        the model context (never `null`)

    - #### getModelApiLevel_

          int getModelApiLevel_()

      Returns the Handly API level supported by the model; one of the level constants declared in `ApiLevel`.

      Implementations are encouraged to return `ApiLevel.CURRENT`, which corresponds to the Handly API level the model was built against.

      Returns:
        the Handly API level supported by this model

Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0