public CEventTableMenu(final JTable table,final List<ITraceEvent> traces){
  addOpenFunction(SwingUtilities.getWindowAncestor(table),traces);
  add(new JMenuItem(CActionProxy.proxy(new CSearchTableAction(SwingUtilities.getWindowAncestor(table),table))));
  add(new CopySelectionAction(table));
}

public CEventTableMenu ( final JTable table , final List < ITraceEvent > traces ) { addOpenFunction ( SwingUtilities . getWindowAncestor ( table ) , traces ) ; add ( new JMenuItem ( CActionProxy . proxy ( new CSearchTableAction ( SwingUtilities . getWindowAncestor ( table ) , table ) ) ) ) ; add ( new CopySelectionAction ( table ) ) ; }
creates a new menu object .
