use of org.eclipse.jst.jsp.core.internal.modelquery.ModelQueryAdapterFactoryForTag in project webtools.sourceediting by eclipse.
the class TagModelLoader method getAdapterFactories.
public List getAdapterFactories() {
List factories = super.getAdapterFactories();
/*
* Replace the default JSP model query by using our own factory
*/
Iterator i = factories.iterator();
while (i.hasNext()) {
if (((INodeAdapterFactory) i.next()).isFactoryForType(ModelQueryAdapter.class)) {
i.remove();
}
}
factories.add(new ModelQueryAdapterFactoryForTag());
return factories;
}
Aggregations