1 /* 2 * Created on Jun 12, 2003 3 * 4 * To change the template for this generated file go to 5 * Window>Preferences>Java>Code Generation>Code and Comments 6 */ 7 package org.columba.mail.gui.frame; 8 9 import org.columba.mail.gui.table.ITableController; 10 11 12 /** 13 * FrameControllers having a table component should implement 14 * this interface. 15 * <p> 16 * The reason for this interface are simple. We have many kinds of 17 * frame controllers. Some have a table component, some of them don't. 18 * <p> 19 * To recognize we can just test it: 20 * <pre> 21 * if ( frameMediator instanceof TableOwner ) 22 * { 23 * TableController table = ( (TableOwner) frameMediator).getTableController() 24 * // do something here 25 * } 26 * </pre> 27 * 28 * @author fdietz 29 */ 30 public interface TableViewOwner { 31 public abstract ITableController getTableController(); 32 } 33