/*
 * Created on Sep 17, 2008 (C) Copyright TANDBERG Television Ltd.
 */

package com.tandbergtv.workflow.web.table;

import java.util.List;
import java.util.Map;

/**
 * @author Vijay Silva
 */
public interface ITableExtensionLoader {

	/**
	 * Loads the Table Extension given the extension key and a map of runtime properties that may be
	 * used to determine the columns to display.
	 * 
	 * @param extensionKey The Extension Key that determines the table and section for which to
	 *        generate columns
	 * @param properties The runtime properties to determine columns
	 * @return The List of columns to replace the extension
	 */
	List<Column> loadExtension(String extensionKey, Map<String, String> properties);
}
