Package org.eclipse.handly.model.impl
Interface IModelImpl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getModelApiLevel_()
Returns the Handly API level supported by the model; one of the level constants declared inApiLevel
.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 inApiLevel
.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
-
-