01: /***************************************************************************************
02: * File Info: $Id: DesignerMenuBar.java,v 1.1 2003/08/09 17:07:22 nathaniel_auvil Exp $
03: *
04: * Description:
05: *
06: * Last Reviewed: NEVER
07: * Maintainer: Nathaniel Auvil
08: * Copyright: <copyright.icore>
09: ***************************************************************************************/package org.krysalis.jcharts.designer.menuBar;
10:
11: import org.krysalis.jcharts.designer.Designer;
12:
13: import javax.swing.*;
14:
15: public class DesignerMenuBar extends JMenuBar {
16:
17: private Designer designer;
18:
19: public DesignerMenuBar(Designer designer) {
20: this .designer = designer;
21:
22: /*
23: this.fileMenu = this.addJMenu( "File", KeyEvent.VK_F );
24: this.createJMenuItem( "Load File...", KeyEvent.VK_L, new LoadFileAction( this, auditViewer.getAuditTableModel() ), this.fileMenu );
25:
26: this.addFileMenuItem= this.createJMenuItem( "Add File...", KeyEvent.VK_A, new AddFileAction( this, auditViewer.getAuditTableModel() ), this.fileMenu );
27: this.addFileMenuItem.setEnabled( false );
28:
29: this.refreshFileAction= new RefreshFileAction( this, auditViewer.getAuditTableModel() );
30: this.reloadFileMenuItem= this.createJMenuItem( "Reload File", KeyEvent.VK_R, this.refreshFileAction, this.fileMenu );
31: this.reloadFileMenuItem.setEnabled( false );
32: */
33:
34: }
35:
36: }
|