private static EditorViewFactoryRegistry instance;
private List<EditorViewFactory> factories = new ArrayList<EditorViewFactory>();
public EditorViewFactoryRegistry() {
// this should obviously come from a configuration file..
addFactory(new XmlSourceEditorViewFactory());
// addFactory( new RestRequestParamsViewFactory() );
addFactory(new HttpRequestContentViewFactory());
addFactory(new JsonResponseViewFactory());
addFactory(new HttpHtmlResponseViewFactory());
addFactory(new RawXmlEditorFactory());