Package org.eclipse.handly.model.impl
Interface IModelImpl
- All Superinterfaces:
IModel
All
IModel
s must implement this interface.- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Handly API level supported by the model; one of the level constants declared inApiLevel
.Returns a context which provides information and services pertaining to this model.
-
Method Details
-
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
-