use of org.eclipse.wst.css.core.internal.metamodel.util.CSSMetaModelFinder in project webtools.sourceediting by eclipse.
the class CSSContentAssistContext method getMetaModel.
/**
*/
CSSMetaModel getMetaModel() {
CSSMetaModelFinder finder = CSSMetaModelFinder.getInstance();
ICSSModel model = getModel();
if (model.getOwnerDOMNode() != null) {
return finder.findMetaModelFor(model.getOwnerDOMNode());
}
return finder.findMetaModelFor(getModel());
}
Aggregations