private final ResourceSet resourceSet;
private final ListenerList listeners = new ListenerList();
public ModelRepositoryImpl() {
XtextResourceSet xtextResourceSet = new SynchronizedXtextResourceSet();
xtextResourceSet.addLoadOption(XtextResource.OPTION_RESOLVE_ALL, Boolean.TRUE);
this.resourceSet = xtextResourceSet;
// don't use XMI as a default
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().remove("*");
}