Search in sources :

Example 1 with ModelQueryAdapterFactoryForJSP

use of org.eclipse.jst.jsp.core.internal.modelquery.ModelQueryAdapterFactoryForJSP in project webtools.sourceediting by eclipse.

the class JSPModelLoader method getAdapterFactories.

/**
 * This method must return those factories which must be attached to the
 * structuredModel before content is applied.
 */
public List getAdapterFactories() {
    List result = new ArrayList();
    INodeAdapterFactory factory = null;
    // 
    factory = new ModelQueryAdapterFactoryForJSP();
    result.add(factory);
    factory = new PropagatingAdapterFactoryImpl();
    result.add(factory);
    factory = new PageDirectiveAdapterFactory();
    result.add(factory);
    return result;
}
Also used : ModelQueryAdapterFactoryForJSP(org.eclipse.jst.jsp.core.internal.modelquery.ModelQueryAdapterFactoryForJSP) PropagatingAdapterFactoryImpl(org.eclipse.wst.xml.core.internal.propagate.PropagatingAdapterFactoryImpl) PageDirectiveAdapterFactory(org.eclipse.jst.jsp.core.internal.document.PageDirectiveAdapterFactory) ArrayList(java.util.ArrayList) List(java.util.List) ArrayList(java.util.ArrayList) INodeAdapterFactory(org.eclipse.wst.sse.core.internal.provisional.INodeAdapterFactory)

Aggregations

ArrayList (java.util.ArrayList)1 List (java.util.List)1 PageDirectiveAdapterFactory (org.eclipse.jst.jsp.core.internal.document.PageDirectiveAdapterFactory)1 ModelQueryAdapterFactoryForJSP (org.eclipse.jst.jsp.core.internal.modelquery.ModelQueryAdapterFactoryForJSP)1 INodeAdapterFactory (org.eclipse.wst.sse.core.internal.provisional.INodeAdapterFactory)1 PropagatingAdapterFactoryImpl (org.eclipse.wst.xml.core.internal.propagate.PropagatingAdapterFactoryImpl)1