Java 类org.eclipse.xtext.ui.editor.contentassist.XtextContentAssistProcessor 实例源码

项目:PHDL    文件:PhdlUiModule.java   
@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(".={[");
}
项目:gama    文件:GamlUiModule.java   
@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();
}
项目:bromium    文件:BromiumUiModule.java   
@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.");
}
项目:bts    文件:DefaultUiModule.java   
public Class<? extends IContentAssistProcessor> bindIContentAssistProcessor() {
    return XtextContentAssistProcessor.class;
}