@Override public void configure(Binder binder) { super.configure(binder); binder.bind(String.class).annotatedWith(Names.named(XtextContentAssistProcessor.COMPLETION_AUTO_ACTIVATION_CHARS)) .toInstance(".={["); binder.bind(String.class).annotatedWith(Names.named(XtextContentAssistProcessor.CONTEXT_INFO_AUTO_ACTIVATION_CHARS)) .toInstance(".={["); }
@Override public void configure(final Binder binder) { super.configure(binder); binder.bind(String.class).annotatedWith( com.google.inject.name.Names.named(XtextContentAssistProcessor.COMPLETION_AUTO_ACTIVATION_CHARS)) .toInstance("."); binder.bind(IResourceLoader.class).toProvider(ResourceLoaderProviders.getParallelLoader()); binder.bind(IResourceClusteringPolicy.class).to(DynamicResourceClusteringPolicy.class); binder.bind(IModelRunner.class).to(ModelRunner.class); // binder.bind(XtextDocumentProvider.class).to(XtextDocumentProvider.class); binder.bind(IMarkerUpdater.class).to(GamlMarkerUpdater.class); binder.bind(IGamlLabelProvider.class).to(GamlLabelProvider.class).asEagerSingleton(); }
@Override public void configure(final Binder binder) { super.configure(binder); binder.<String>bind(String.class).annotatedWith( Names.named(XtextContentAssistProcessor.COMPLETION_AUTO_ACTIVATION_CHARS)).toInstance("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz."); }
public Class<? extends IContentAssistProcessor> bindIContentAssistProcessor() { return XtextContentAssistProcessor.class; }