org.eclipse.handly.model

## Interface IModelExtension

- All Superinterfaces:
    IModel

      public interface IModelExtension
      extends IModel

  Model implementors may opt to extend this interface, which extends `IModel` with a number of default methods.

  This interface is not intended to be referenced for purposes other than extension.

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default IContext` | `getModelContext()` Returns a context which provides information and services pertaining to this model.

- - ### Method Detail

    - #### getModelContext

          default 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`)

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