org.eclipse.xtext.resource.IExternalContentSupport Java Examples

The following examples show how to use org.eclipse.xtext.resource.IExternalContentSupport. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProjectManager.java    From xtext-core with Eclipse Public License 2.0 5 votes vote down vote up
public void initialize(ProjectDescription description, IProjectConfig projectConfig,
		Procedure2<? super URI, ? super Iterable<Issue>> acceptor,
		IExternalContentSupport.IExternalContentProvider openedDocumentsContentProvider,
		Provider<Map<String, ResourceDescriptionsData>> indexProvider, CancelIndicator cancelIndicator) {
	this.projectDescription = description;
	this.projectConfig = projectConfig;
	this.baseDir = projectConfig.getPath();
	this.issueAcceptor = acceptor;
	this.openedDocumentsContentProvider = openedDocumentsContentProvider;
	this.indexProvider = indexProvider;
}
 
Example #2
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IExternalContentSupport.IExternalContentProvider> bindIExternalContentSupport$IExternalContentProvider() {
	return IDirtyStateManager.class;
}
 
Example #3
Source File: ResourceForIEditorInputFactory.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
protected IExternalContentSupport getExternalContentSupport() {
	return externalContentSupport;
}
 
Example #4
Source File: ProjectManager.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
protected IExternalContentSupport.IExternalContentProvider getOpenedDocumentsContentProvider() {
	return openedDocumentsContentProvider;
}
 
Example #5
Source File: WorkspaceManager.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public IExternalContentSupport.IExternalContentProvider getActualContentProvider() {
	return this;
}