Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core;
import  org.eclipse.core.runtime.IProgressMonitor;
import  org.eclipse.core.runtime.OperationCanceledException;
	public IProgressMonitor monitor;
	public CancelableProblemFactory(IProgressMonitor monitor) {
		super();
		this. = monitor;
	}
	public CategorizedProblem createProblem(char[] originatingFileNameint problemIdString[] problemArgumentsString[] messageArgumentsint severityint startPositionint endPositionint lineNumberint columnNumber) {
		if (this. != null && this..isCanceled())
			throw new AbortCompilation(true/*silent*/new OperationCanceledException());
		return super.createProblem(originatingFileNameproblemIdproblemArgumentsmessageArgumentsseveritystartPositionendPositionlineNumbercolumnNumber);
	}
	public CategorizedProblem createProblem(char[] originatingFileNameint problemIdString[] problemArgumentsint elaborationIdString[] messageArgumentsint severityint startPositionint endPositionint lineNumberint columnNumber) {
		if (this. != null && this..isCanceled())
			throw new AbortCompilation(true/*silent*/new OperationCanceledException());
		return super.createProblem(originatingFileNameproblemIdproblemArgumentselaborationIdmessageArgumentsseveritystartPositionendPositionlineNumbercolumnNumber);
	}
New to GrepCode? Check out our FAQ X