/*******************************************************************************
 * Copyright (c) 2006 Norbert Ploett 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:
 * Norbert Ploett (Siemens) - Initial Contribution
 *******************************************************************************/
package org.eclipse.cdt.ui.text.contentassist;

import org.eclipse.cdt.ui.text.ICCompletionProposal;


public interface IProposalFilter {
	
		/**
		 * Filter a list of ICCompletionProposals <br>
		 * - Change the order of entries <br>
		 * - Remove undesired (duplicate) entries <br>
		 * - Supplement existing entries with additional information
		 * @param proposals The List of proposals
		 * @return The filtered list of proposals as array
		 */
		ICCompletionProposal[] filterProposals(ICCompletionProposal[] proposals) ;

}
