Java 类org.eclipse.xtext.generator.IContextualOutputConfigurationProvider 实例源码

项目:pokemon-tcgo-deck-generator    文件:AbstractPkmntcgoUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:n4js    文件:AbstractN4JSUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:n4js    文件:AbstractRegularExpressionUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:n4js    文件:AbstractN4MFUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:Xtext_Xtend_HTML_Generator    文件:AbstractMyDslUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:bromium    文件:AbstractBromiumUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:gw4e.project    文件:AbstractDSLPoliciesUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:lcdsl    文件:AbstractLcDslUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:gemoc-studio    文件:AbstractDslUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:org.xtext.dsl.restaurante    文件:AbstractRestauranteUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:OCCI-Studio    文件:AbstractOCCIUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:M2Doc    文件:AbstractMyDslUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:minitl    文件:AbstractMinitlUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:xtext-core    文件:IncrementalBuilder.java   
protected URIBasedFileSystemAccess createFileSystemAccess(final IResourceServiceProvider serviceProvider, final Resource resource) {
  URIBasedFileSystemAccess _xblockexpression = null;
  {
    final IProjectConfigProvider projectConfigProvider = serviceProvider.<IProjectConfigProvider>get(IProjectConfigProvider.class);
    IProjectConfig _projectConfig = null;
    if (projectConfigProvider!=null) {
      _projectConfig=projectConfigProvider.getProjectConfig(resource.getResourceSet());
    }
    final IProjectConfig projectConfig = _projectConfig;
    ISourceFolder _findSourceFolderContaining = null;
    if (projectConfig!=null) {
      _findSourceFolderContaining=projectConfig.findSourceFolderContaining(resource.getURI());
    }
    final ISourceFolder sourceFolder = _findSourceFolderContaining;
    URIBasedFileSystemAccess _uRIBasedFileSystemAccess = new URIBasedFileSystemAccess();
    final Procedure1<URIBasedFileSystemAccess> _function = (URIBasedFileSystemAccess it) -> {
      final IContextualOutputConfigurationProvider outputConfigProvider = serviceProvider.<IContextualOutputConfigurationProvider>get(IContextualOutputConfigurationProvider.class);
      final Function1<OutputConfiguration, String> _function_1 = (OutputConfiguration it_1) -> {
        return it_1.getName();
      };
      it.setOutputConfigurations(IterableExtensions.<String, OutputConfiguration>toMap(outputConfigProvider.getOutputConfigurations(resource), _function_1));
      it.setPostProcessor(serviceProvider.<IFilePostProcessor>get(IFilePostProcessor.class));
      final IEncodingProvider newEncodingProvider = serviceProvider.<IEncodingProvider>get(IEncodingProvider.class);
      if ((newEncodingProvider != null)) {
        it.setEncodingProvider(newEncodingProvider);
      }
      it.setTraceFileNameProvider(serviceProvider.<TraceFileNameProvider>get(TraceFileNameProvider.class));
      it.setTraceRegionSerializer(serviceProvider.<TraceRegionSerializer>get(TraceRegionSerializer.class));
      it.setGenerateTraces(true);
      it.setBaseDir(this.request.getBaseDir());
      String _name = null;
      if (sourceFolder!=null) {
        _name=sourceFolder.getName();
      }
      it.setCurrentSource(_name);
      it.setConverter(resource.getResourceSet().getURIConverter());
    };
    _xblockexpression = ObjectExtensions.<URIBasedFileSystemAccess>operator_doubleArrow(_uRIBasedFileSystemAccess, _function);
  }
  return _xblockexpression;
}
项目:Sparrow    文件:AbstractModelEditorUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:CooperateModelingEnvironment    文件:AbstractComponentUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:CooperateModelingEnvironment    文件:AbstractClsUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:cs2as    文件:AbstractASBHLangUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:cs2as    文件:AbstractMiniOCLUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}
项目:xtext-maven-example    文件:BuildDSLUiModule.java   
public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
    return EclipseOutputConfigurationProvider.class;
}