blob: 6d8c3ec3d58769ba82921451fa45016beb3c9de4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 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;
/**
* A relevance for the marker resolution. This interface gives the relevance of
* the marker which can be used to sort all the marker resolutions. Resolutions
* with higher relevance should be listed before resolutions with lower
* relevance.
*
* @since 3.14
*/
public interface IMarkerResolutionRelevance {
/**
* Returns the relevance of this marker resolution.
* <p>
* The relevance is used to determine if this resolution is more relevant than
* another resolution.
* </p>
*
* @return the relevance of this resolution
*/
default public int getRelevanceForResolution() {
return 0;
}
}