private void registerGuiceBindingsUi() { new GuiceModuleAccess.BindingFactory() .addTypeToType(typeRef(XtextDocument.class), typeRef(CooperateXtextDocument.class)) .addTypeToType(typeRef(XtextDocumentProvider.class), typeRef(CooperateCDOXtextDocumentProvider.class)) .addTypeToType(typeRef(IResourceSetProvider.class), typeRef(XtextLiveScopeResourceSetProvider.class)) .contributeTo(getLanguage().getEclipsePluginGenModule()); getProjectConfig().getEclipsePlugin().getManifest().getRequiredBundles() .add("de.cooperateproject.modeling.textual.xtext.runtime.ui"); }
/** Workaround for the problem: file is refreshed when opened */ public Class<? extends XtextDocumentProvider> bindXtextDocumentProvider() { return AvoidRefreshDocumentProvider.class; }
public Class<? extends XtextDocumentProvider> bindXtextDocumentProvider() { return XbaseDocumentProvider.class; }
public Class<? extends XtextDocumentProvider> bindXtextDocumentProvider() { return OCCIDocumentProvider.class; }
public Class<? extends XtextDocumentProvider> bindXtextDocumentProvider() { return CooperateCDOXtextDocumentProvider.class; }