Search in sources :

Example 1 with ProjectConfigAdapter

use of org.eclipse.xtext.workspace.ProjectConfigAdapter in project xtext-core by eclipse.

the class ProjectConfigProvider method getProjectConfig.

@Override
public IProjectConfig getProjectConfig(final ResourceSet context) {
    ProjectConfigAdapter _findInEmfObject = ProjectConfigAdapter.findInEmfObject(context);
    IProjectConfig _projectConfig = null;
    if (_findInEmfObject != null) {
        _projectConfig = _findInEmfObject.getProjectConfig();
    }
    return _projectConfig;
}
Also used : IProjectConfig(org.eclipse.xtext.workspace.IProjectConfig) ProjectConfigAdapter(org.eclipse.xtext.workspace.ProjectConfigAdapter)

Aggregations

IProjectConfig (org.eclipse.xtext.workspace.IProjectConfig)1 ProjectConfigAdapter (org.eclipse.xtext.workspace.ProjectConfigAdapter)1