org.eclipse.xtext.ui.generator.IDerivedResourceMarkers Java Examples

The following examples show how to use org.eclipse.xtext.ui.generator.IDerivedResourceMarkers. 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: BuildInstruction.java    From n4js with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Create a build instruction for the given project.
 */
public BuildInstruction(IProject project,
		Map<String, OutputConfiguration> outputConfigurations,
		IDerivedResourceMarkers derivedResourceMarkers,
		EclipseResourceFileSystemAccess2 access,
		Map<OutputConfiguration, Iterable<IMarker>> generatorMarkers,
		IStorage2UriMapper storage2UriMapper, ICompositeGenerator compositeGenerator,
		Injector injector) {
	super(project, outputConfigurations, derivedResourceMarkers);
	this.access = access;
	this.generatorMarkers = generatorMarkers;
	this.storage2UriMapper = storage2UriMapper;
	this.compositeGenerator = compositeGenerator;
	this.injector = injector;
}
 
Example #2
Source File: CleanInstruction.java    From n4js with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Creates a new clean operation for the given project.
 */
public CleanInstruction(IProject project, Map<String, OutputConfiguration> outputConfigurations,
		IDerivedResourceMarkers derivedResourceMarkers) {
	super(project, outputConfigurations, derivedResourceMarkers);
	this.project = project;
	this.outputConfigurations = outputConfigurations;
	this.derivedResourceMarkers = derivedResourceMarkers;
}
 
Example #3
Source File: DefaultSharedContribution.java    From xtext-eclipse with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public void configure(Binder binder) {
	binder.bind(ProjectOpenedOrClosedListener.class);
	binder.bind(ClosedProjectsQueue.class);
	binder.bind(IEagerContribution.class).to(ListenerRegistrar.class);
	binder.bind(WorkspaceProjectsState.class);
	binder.bind(TraceBasedOpenerContributor.class);
	binder.bind(DerivedResourceMarkerBasedOpenerContributor.class);
	binder.bind(DerivedResourceMarkers.GeneratorIdProvider.class);
	binder.bind(IDerivedResourceMarkers.class).to(DerivedResourceMarkers.class);
	binder.bind(OppositeFileOpenerContributor.class).to(TraceOrMarkerBasedOpenerContributor.class);
}
 
Example #4
Source File: AbstractBuildParticipantInstruction.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public AbstractBuildParticipantInstruction(IProject project, Map<String, OutputConfiguration> outputConfigurations,
		IDerivedResourceMarkers derivedResourceMarkers) {
	this.project = project;
	this.outputConfigurations = outputConfigurations;
	this.derivedResourceMarkers = derivedResourceMarkers;
}
 
Example #5
Source File: SharedStateModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * @since 2.3
 */
public Class<? extends IDerivedResourceMarkers> bindDerivedResourceMarkers() {
	return DerivedResourceMarkers.class;
}
 
Example #6
Source File: BuilderParticipant.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * @since 2.9
 */
protected IDerivedResourceMarkers getDerivedResourceMarkers() {
	return derivedResourceMarkers;
}