Package org.eclipse.handly.model
Interface IModel
-
- All Known Subinterfaces:
IModelExtension,IModelImpl
public interface IModelA marker interface for Handly-based models.A model serves as the common owner of any number of
IElements. EachIElementbelongs to a model, called the owning model. The children of an element always belong to the same model as their parent element.There can be any number of elements owned by a model that are
unparented. Each of these elements is the root of a separate tree of elements. TheElements.getRoot(IElement)method navigates from any element to the root of the containing element tree. One cannavigatefrom any element to its owning model but not in the opposite direction.An instance of
IModelis safe for use by multiple threads.- See Also:
Models