/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * 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:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/

package org.eclipse.birt.report.designer.ui.extensions;

import java.util.List;

import org.eclipse.jface.action.IMenuManager;

/**
 * The interface used to extend context menu in the layout editeor
 */

public interface IMenuBuilder
{

	/**
	 * Build extended menu for the given menu manager by the selection
	 * 
	 * @param menu
	 *            the menu manager to extend
	 * @param selectedList
	 *            the selection list
	 */
	public void buildMenu( IMenuManager menu, List selectedList );
}
