use of org.eclipse.wst.xml.core.internal.propagate.PropagatingAdapterFactoryImpl in project webtools.sourceediting by eclipse.
the class HTMLModelLoader 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 = StyleAdapterFactory.getInstance();
result.add(factory);
factory = HTMLStyleSelectorAdapterFactory.getInstance();
result.add(factory);
factory = HTMLDocumentTypeAdapterFactory.getInstance();
result.add(factory);
factory = HTMLModelParserAdapterFactory.getInstance();
result.add(factory);
//
factory = new ModelQueryAdapterFactoryForHTML();
result.add(factory);
factory = new PropagatingAdapterFactoryImpl();
result.add(factory);
return result;
}
use of org.eclipse.wst.xml.core.internal.propagate.PropagatingAdapterFactoryImpl in project webtools.sourceediting by eclipse.
the class XMLModelLoader method getAdapterFactories.
public List getAdapterFactories() {
List result = new ArrayList();
INodeAdapterFactory factory = null;
factory = new ModelQueryAdapterFactoryForXML();
result.add(factory);
// Does XML need propagating adapter? Or just JSP?
factory = new PropagatingAdapterFactoryImpl();
result.add(factory);
return result;
}
use of org.eclipse.wst.xml.core.internal.propagate.PropagatingAdapterFactoryImpl 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;
}
use of org.eclipse.wst.xml.core.internal.propagate.PropagatingAdapterFactoryImpl in project webtools.sourceediting by eclipse.
the class HTMLDocumentLoader 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 = StyleAdapterFactory.getInstance();
result.add(factory);
factory = HTMLStyleSelectorAdapterFactory.getInstance();
result.add(factory);
factory = HTMLDocumentTypeAdapterFactory.getInstance();
result.add(factory);
factory = HTMLModelParserAdapterFactory.getInstance();
result.add(factory);
//
factory = new ModelQueryAdapterFactoryForHTML();
result.add(factory);
factory = new PropagatingAdapterFactoryImpl();
result.add(factory);
return result;
}
Aggregations