blob: f31523bf8deb0300499fc2c5dea95482b71cbdba [file] [log] [blame]
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.search.ui;
import org.eclipse.core.resources.IMarker;
/**
* Computes the key by which the markers in the search result view
* are grouped.
*/
public interface IGroupByKeyComputer {
/**
* Computes and returns key by which the given marker is grouped.
*
* @param marker the marker for which the key must be computed
* @return an object that will be used as the key for that marker
* <code>UNKNOWN</code> if this computer cannot decide
*/
public Object computeGroupByKey(IMarker marker);
}