Package 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

  Modifier and Type
  Method
  Description
  `default IContext`
  `getModelContext()`
  Returns a context which provides information and services pertaining to this model.

- ## Method Details

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