Java 类org.eclipse.xtext.naming.SimpleNameProvider 实例源码

项目:n4js    文件:AbstractN4JSRuntimeModule.java   
public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
    return SimpleNameProvider.class;
}
项目:n4js    文件:AbstractN4MFRuntimeModule.java   
public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
    return SimpleNameProvider.class;
}
项目:xtext-extras    文件:SimpleNamesFragment.java   
@Override
public Set<Binding> getGuiceBindingsRt(Grammar grammar) {
    return new BindFactory()
        .addfinalTypeToType(IQualifiedNameProvider.class.getName(), SimpleNameProvider.class.getName())
        .getBindings();
}
项目:xtext-core    文件:AbstractGenericResourceRuntimeModule.java   
public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
    return SimpleNameProvider.class;
}
项目:xtext-core    文件:DefaultRuntimeModule.java   
public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
    return SimpleNameProvider.class;
}
项目:xtext-core    文件:SimpleNamesFragment2.java   
@Override
public void generate() {
  new GuiceModuleAccess.BindingFactory().addfinalTypeToType(TypeReference.typeRef(IQualifiedNameProvider.class), TypeReference.typeRef(SimpleNameProvider.class)).contributeTo(this.getLanguage().getRuntimeGenModule());
  new GuiceModuleAccess.BindingFactory().addTypeToType(TypeReference.typeRef("org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator"), 
    TypeReference.typeRef("org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator")).contributeTo(this.getLanguage().getEclipsePluginGenModule());
}
项目:sadlos2    文件:SadlLocalScopeProvider.java   
@Inject
public void setNameProvider(SimpleNameProvider nameProvider) {
    super.setNameProvider(nameProvider);
}