View Javadoc

1   /*
2    * joey and its relative products are published under the terms
3    * of the Apache Software License.
4    * 
5    * Created on 2004/06/08 23:17:18
6    */
7   package org.asyrinx.joey.gui.swing.listview;
8   
9   import javax.swing.JPopupMenu;
10  
11  import org.asyrinx.joey.gui.swing.EntityListViewTable;
12  
13  /***
14   * @author akima
15   */
16  public interface EntityListViewTableActionKit {
17  
18  	public EntityListViewTableAction[] getActions(
19  			EntityListViewTable listViewTable);
20  
21  	public void preparePopupMenu(EntityListViewTable listViewTable,
22  			JPopupMenu popupMenu);
23  
24  	public static final EntityListViewTableActionKit NULL = new EntityListViewTableActionKit() {
25  		public EntityListViewTableAction[] getActions(
26  				EntityListViewTable listViewTable) {
27  			return new EntityListViewTableAction[0];
28  		}
29  
30  		public void preparePopupMenu(EntityListViewTable listViewTable,
31  				JPopupMenu popupMenu) {
32  		}
33  
34  	};
35  
36  }