/******************************************************************************* * Copyright (c) 2000, 2007 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.ui; import org.eclipse.core.resources.IMarker; /** * A marker resolution generator should implement this interface rather than * <code>IMarkerResolutionGenerator</code> if it can determine whether a particular marker * has any resolutions more efficiently than computing all the resolutions. * * @since 2.1 */ public interface IMarkerResolutionGenerator2 extends IMarkerResolutionGenerator { /** * Returns whether there are any resolutions for the given marker. * * @param marker the marker * @return <code>true</code> if there are resolutions for the given marker, * <code>false</code> if not */ public boolean hasResolutions(IMarker marker); }