Coverage details for ui.ICMenuBar

LineHitsSource
1 /*******************************************************************************
2  * InternetCafe is a software solution that helps the management of Cybercafes
3  * according with the ITALIAN DECREE LAW ON ANTI-TERROR MEASURES, 27 JULY 2005.
4  * Copyright (C) 2006 Guido Angelo Ingenito
5  
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  *******************************************************************************/
20 package ui;
21  
22 import java.awt.event.ActionEvent;
23 import java.awt.event.ActionListener;
24 import java.awt.event.KeyEvent;
25  
26 import javax.swing.Box;
27 import javax.swing.ImageIcon;
28 import javax.swing.JMenu;
29 import javax.swing.JMenuBar;
30 import javax.swing.JMenuItem;
31 import javax.swing.JSeparator;
32 import javax.swing.KeyStroke;
33  
34 import org.apache.log4j.Logger;
35  
36 import ui.command.CommandExecutor;
37 import ui.command.IO.ExitCommand;
38 import ui.command.IO.ExportSessionListCommand;
39 import ui.command.IO.ExportUserListCommand;
40 import ui.command.IO.ImportUserFromVCardCommand;
41 import ui.command.IO.LoadDBCommand;
42 import ui.command.IO.LogOutAdministratorCommand;
43 import ui.command.IO.SaveDBAsCommand;
44 import ui.command.IO.SaveDBCommand;
45 import ui.command.information.ShowAboutFrameCommand;
46 import ui.command.information.ShowMessageFrameCommand;
47 import ui.command.information.ShowTextFileDialogCommand;
48 import ui.help.HelpMenuItem;
49 import base.ConfigurationManager;
50  
51 @SuppressWarnings("serial") //$NON-NLS-1$
520public class ICMenuBar extends JMenuBar {
530 
540    private static final transient Logger logger = Logger
550            .getLogger(ICMenuBar.class.getName());
56  
57     private JMenu menuFile;
58  
59     private JMenu subMenuFileNew;
60  
61     private JMenuItem subMenuFileNewUserFromVCard;
62  
63     private JMenu subMenuFileExport;
64  
65     private JMenuItem subMenuFileExportSessionList;
66  
67     private JMenuItem subMenuFileExportUserList;
68  
69     private JMenuItem menuFileLoadDB;
70  
71     private JMenuItem menuFileSaveDB;
72  
73     private JMenuItem menuFileSaveDBAs;
74  
75     private JMenuItem menuFilePrint;
76  
77     private JMenuItem menuFilePrintPreview;
78  
79     private JMenuItem menuFileExit;
80  
81     private JMenu menuEdit;
82  
83     private JMenuItem menuEditUndo;
84  
85     private JMenuItem menuEditRedo;
86  
87     private JMenuItem menuEditCut;
88  
89     private JMenuItem menuEditCopy;
90  
91     private JMenuItem menuEditPaste;
92  
93     private JMenuItem menuEditSelectAll;
94  
95     private JMenu menuSecurity;
96  
97     private JMenuItem menuSecurityLogOut;
98  
99     private JMenu menuHelp;
100  
101     private JMenuItem menuHelpContent;
102  
103     private JMenuItem menuHelpMessage;
104  
105     private JMenuItem menuHelpAbout;
106  
107     private JMenuItem menuHelpLicense;
108  
1090    public ICMenuBar() {
1100        initialize();
1110    }
1120 
113     protected void initialize() {
1140        add(getMenuFile());
1150        add(getMenuEdit());
1160        add(getMenuSecurity());
1170        add(Box.createHorizontalGlue());
1180        add(getMenuHelp());
1190    }
120  
121     /**
122      * @return Returns the menuFile.
123      */
124     protected JMenu getMenuFile() {
1250        if (menuFile == null) {
1260            menuFile = new JMenu(Messages.getString("menubar.file")); //$NON-NLS-1$
1270            menuFile.setMnemonic(KeyEvent.VK_F);
1280            
1290            menuFile.add(getSubMenuFileNew());
1300            menuFile.add(new JSeparator());
1310            menuFile.add(getMenuFileLoadDB());
1320            menuFile.add(new JSeparator());
1330            menuFile.add(getMenuFileSaveDB());
1340            menuFile.add(getMenuFileSaveDBAs());
1350            menuFile.add(new JSeparator());
1360            menuFile.add(getSubMenuFileExport());
1370            menuFile.add(new JSeparator());
1380            menuFile.add(getMenuFilePrint());
1390            menuFile.add(getMenuFilePrintPreview());
1400            menuFile.add(new JSeparator());
1410            menuFile.add(getMenuFileExit());
1420 
143         }
1440        return menuFile;
145     }
146  
147     /**
148      * @return Returns the subMenuFileNew.
1490     */
1500    protected JMenu getSubMenuFileNew() {
1510        if (subMenuFileNew == null) {
1520            subMenuFileNew = new JMenu(Messages.getString("menubar.file.new")); //$NON-NLS-1$
1530            subMenuFileNew.add(getSubMenuFileNewUserFromVCard());
154         }
1550        return subMenuFileNew;
156     }
157  
158     /**
159      * @return Returns the menuFilePrint.
1600     */
1610    protected JMenuItem getMenuFilePrint() {
1620        if (menuFilePrint == null) {
1630            menuFilePrint = new JMenuItem(Messages.getString("menubar.file.print")); //$NON-NLS-1$
1640            menuFilePrint.setIcon(new ImageIcon(this.getClass().getResource(
1650                    "/icon/16x16/actions/document-print.png"))); //$NON-NLS-1$
166  
1670            menuFilePrint.addActionListener(new ActionListener() {
168                 public void actionPerformed(ActionEvent arg0) {
169                     logger.debug("actionPerformed menuFilePrint"); //$NON-NLS-1$
170                 }
1710            });
172         }
1730        return menuFilePrint;
174     }
175  
176     /**
177      * @return Returns the menuFilePrintPreview.
1780     */
1790    protected JMenuItem getMenuFilePrintPreview() {
1800        if (menuFilePrintPreview == null) {
1810            menuFilePrintPreview = new JMenuItem(Messages.getString("menubar.file.printpreview")); //$NON-NLS-1$
1820            menuFilePrintPreview.setIcon(new ImageIcon(this.getClass()
1830                    .getResource(
1840                            "/icon/16x16/actions/document-print-preview.png"))); //$NON-NLS-1$
185  
1860            menuFilePrintPreview.addActionListener(new ActionListener() {
187                 public void actionPerformed(ActionEvent arg0) {
188                     logger.debug("actionPerformed menuFilePrintPreview"); //$NON-NLS-1$
189  
190                 }
1910            });
192         }
1930        return menuFilePrintPreview;
194     }
195  
196     /**
197      * @return Returns the menuFileExit.
1980     */
1990    protected JMenuItem getMenuFileExit() {
2000        if (menuFileExit == null) {
2010            menuFileExit = new JMenuItem(Messages.getString("menubar.file.exit")); //$NON-NLS-1$
202             /*menuFileExit.setIcon(new ImageIcon(this.getClass().getResource(
2030            "/icon/16x16/actions/application-exit.png")));
204             */
2050            menuFileExit.setAccelerator(KeyStroke.getKeyStroke(
2060                    KeyEvent.VK_Q, ActionEvent.ALT_MASK));
207             
2080            menuFileExit.addActionListener(new ActionListener() {
209                 public void actionPerformed(ActionEvent arg0) {
210                     logger.debug("actionPerformed menuFileExit"); //$NON-NLS-1$
2110                    CommandExecutor.getInstance().executeCommand(
212                             new ExitCommand(), false);
213                 }
214             });
215         }
2160        return menuFileExit;
217     }
2180 
2190    /**
2200     * @return Returns the menuFileLoadDB.
221      */
222     protected JMenuItem getMenuFileLoadDB() {
2230        if (menuFileLoadDB == null) {
2240            menuFileLoadDB = new JMenuItem(Messages.getString("menubar.file.loaddatabase")); //$NON-NLS-1$
2250            menuFileLoadDB.setIcon(new ImageIcon(this.getClass().getResource(
2260                    "/icon/16x16/actions/document-open.png"))); //$NON-NLS-1$
227  
2280            menuFileLoadDB.addActionListener(new ActionListener() {
229                 public void actionPerformed(ActionEvent arg0) {
230                     logger.debug("actionPerformed menuFileLoadDB"); //$NON-NLS-1$
2310                    CommandExecutor.getInstance().executeCommand(
232                             new LoadDBCommand(), false);
233                 }
234             });
235         }
2360        return menuFileLoadDB;
237     }
2380 
2390    /**
2400     * @return Returns the menuFileSaveDB.
241      */
242     protected JMenuItem getMenuFileSaveDB() {
2430        if (menuFileSaveDB == null) {
2440            menuFileSaveDB = new JMenuItem(Messages.getString("menubar.file.savedatabase")); //$NON-NLS-1$
2450            menuFileSaveDB.setIcon(new ImageIcon(this.getClass().getResource(
2460                    "/icon/16x16/actions/document-save.png"))); //$NON-NLS-1$
247             
2480            menuFileSaveDB.setAccelerator(KeyStroke.getKeyStroke(
2490                    KeyEvent.VK_S, ActionEvent.CTRL_MASK));
250  
2510            menuFileSaveDB.addActionListener(new ActionListener() {
252                 public void actionPerformed(ActionEvent arg0) {
253                     logger.debug("actionPerformed menuFileSaveDB"); //$NON-NLS-1$
254                     CommandExecutor.getInstance().executeCommand(
255                             new SaveDBCommand(), false);
256                 }
257             });
2580        }
2590        return menuFileSaveDB;
2600    }
261  
262     /**
2630     * @return Returns the menuFileSaveDBAs.
264      */
265     protected JMenuItem getMenuFileSaveDBAs() {
2660        if (menuFileSaveDBAs == null) {
2670            menuFileSaveDBAs = new JMenuItem(Messages.getString("menubar.file.savedatabaseas")); //$NON-NLS-1$
2680            menuFileSaveDBAs.setIcon(new ImageIcon(this.getClass().getResource(
2690                    "/icon/16x16/actions/document-save-as.png"))); //$NON-NLS-1$
270             
2710            menuFileSaveDBAs.setAccelerator(KeyStroke.getKeyStroke(
2720                    KeyEvent.VK_S, ActionEvent.CTRL_MASK+ActionEvent.SHIFT_MASK));
273  
2740            menuFileSaveDBAs.addActionListener(new ActionListener() {
275                 public void actionPerformed(ActionEvent arg0) {
276                     logger.debug("actionPerformed menuFileSaveDBAs"); //$NON-NLS-1$
277                     CommandExecutor.getInstance().executeCommand(
2780                            new SaveDBAsCommand(), false);
2790                }
2800            });
281         }
2820        return menuFileSaveDBAs;
283     }
284  
285     /**
286      * @return Returns the menuSecurity.
287      */
288     protected JMenu getMenuSecurity() {
2890        if (menuSecurity == null) {
2900            menuSecurity = new JMenu(Messages.getString("menubar.security")); //$NON-NLS-1$
2910            menuSecurity.setMnemonic(KeyEvent.VK_S);
2920            menuSecurity.add(getMenuSecurityLogOut());
293         }
2940        return menuSecurity;
295     }
296  
297     /**
298      * @return Returns the menuSecurityLogOut.
299      */
300     protected JMenuItem getMenuSecurityLogOut() {
3010        if (menuSecurityLogOut == null) {
3020            menuSecurityLogOut = new JMenuItem(Messages.getString("menubar.security.logout")); //$NON-NLS-1$
3030            menuSecurityLogOut.setIcon(new ImageIcon(this.getClass()
3040                    .getResource("/icon/16x16/actions/system-log-out.png"))); //$NON-NLS-1$
305  
3060            menuSecurityLogOut.addActionListener(new ActionListener() {
307                 public void actionPerformed(ActionEvent arg0) {
308                     logger.debug("actionPerformed menuSecurityLogOut"); //$NON-NLS-1$
3090                    CommandExecutor.getInstance().executeCommand(
3100                            new LogOutAdministratorCommand(), false);
3110                }
3120            });
3130        }
3140        return menuSecurityLogOut;
3150    }
316  
317     /**
3180     * @return Returns the menuHelp.
319      */
320     protected JMenu getMenuHelp() {
3210        if (menuHelp == null) {
3220            menuHelp = new JMenu(Messages.getString("menubar.help")); //$NON-NLS-1$
3230            menuHelp.setMnemonic(KeyEvent.VK_H);
324             
3250            menuHelp.add(getMenuHelpContent());
3260            menuHelp.add(getMenuHelpAbout());
3270            menuHelp.add(getMenuHelpLicense());
3280            menuHelp.add(new JSeparator());
3290            menuHelp.add(getMenuHelpMessage());
330  
3310        }
3320        return menuHelp;
333     }
334  
335     /**
336      * @return Returns the menuHelpContent.
337      */
3380    protected JMenuItem getMenuHelpContent() {
3390        if (menuHelpContent == null) {
3400            menuHelpContent = new HelpMenuItem(Messages.getString("menubar.help.contents")); //$NON-NLS-1$
341             
342             // menuHelpContent.setIcon(new
3430            // ImageIcon(this.getClass().getResource("/icon/16x16/actions/help-contents.png")));
344         }
3450        return menuHelpContent;
346     }
347  
348     /**
349      * @return Returns the menuHelpAbout.
350      */
351     protected JMenuItem getMenuHelpAbout() {
3520        if (menuHelpAbout == null) {
3530            menuHelpAbout = new JMenuItem(Messages.getString("menubar.help.about")); //$NON-NLS-1$
354             // menuHelpAbout.setIcon(new
355             // ImageIcon(this.getClass().getResource("/icon/16x16/actions/help-about.png")));
356  
3570            menuHelpAbout.addActionListener(new ActionListener() {
358                 public void actionPerformed(ActionEvent arg0) {
3590                    logger.debug("actionPerformed menuHelpAbout"); //$NON-NLS-1$
3600                    CommandExecutor.getInstance().executeCommand(
3610                            new ShowAboutFrameCommand(), false);
362                 }
363             });
364  
365         }
3660        return menuHelpAbout;
367     }
368  
3690    /**
370      * @return Returns the menuHelpMessage.
371      */
372     protected JMenuItem getMenuHelpMessage() {
3730        if (menuHelpMessage == null) {
3740            menuHelpMessage = new JMenuItem(Messages.getString("menubar.help.messages")); //$NON-NLS-1$
3750            menuHelpMessage.addActionListener(new ActionListener() {
3760                public void actionPerformed(ActionEvent arg0) {
3770                    logger.debug("actionPerformed menuHelpMessage"); //$NON-NLS-1$
3780                    CommandExecutor.getInstance().executeCommand(
379                             new ShowMessageFrameCommand(), false);
380                 }
3810            });
382         }
3830        return menuHelpMessage;
384     }
385  
386     /**
387      * @return Returns the menuHelpLicense.
388      */
389     protected JMenuItem getMenuHelpLicense() {
3900        if (menuHelpLicense == null) {
3910            menuHelpLicense = new JMenuItem(Messages.getString("menubar.help.license")); //$NON-NLS-1$
3920            menuHelpLicense.setIcon(new ImageIcon(this.getClass().getResource(
3930                    "/icon/16x16/mimetypes/application-certificate.png"))); //$NON-NLS-1$
394  
3950            menuHelpLicense.addActionListener(new ActionListener() {
396                 public void actionPerformed(ActionEvent arg0) {
3970                    logger.debug("actionPerformed menuHelpLicense"); //$NON-NLS-1$
3980                    CommandExecutor.getInstance().executeCommand(
3990                            new ShowTextFileDialogCommand("License", //$NON-NLS-1$
4000                                    ConfigurationManager.LICENSE_FILE), false);
4010                }
4020            });
4030        }
4040        return menuHelpLicense;
4050    }
4060 
407     /**
4080     * @return Returns the menuEdit.
409      */
410     protected JMenu getMenuEdit() {
4110        if (menuEdit == null) {
4120            menuEdit = new JMenu(Messages.getString("menubar.edit")); //$NON-NLS-1$
4130            menuEdit.setMnemonic(KeyEvent.VK_E);
414             
4150            menuEdit.add(getMenuEditUndo());
4160            menuEdit.add(getMenuEditRedo());
4170            menuEdit.add(new JSeparator());
4180            menuEdit.add(getMenuEditCut());
4190            menuEdit.add(getMenuEditCopy());
4200            menuEdit.add(getMenuEditPaste());
4210            menuEdit.add(new JSeparator());
4220            menuEdit.add(getMenuEditSelectAll());
423         }
4240        return menuEdit;
425     }
426  
4270    /**
4280     * @return Returns the menuEditCopy.
4290     */
430     protected JMenuItem getMenuEditCopy() {
4310        if (menuEditCopy == null) {
4320            menuEditCopy = new JMenuItem(Messages.getString("menubar.edit.copy")); //$NON-NLS-1$
4330            menuEditCopy.setAccelerator(KeyStroke.getKeyStroke(
4340                    KeyEvent.VK_C, ActionEvent.CTRL_MASK));
435             
4360            menuEditCopy.setIcon(new ImageIcon(this.getClass().getResource(
4370                    "/icon/16x16/actions/edit-copy.png"))); //$NON-NLS-1$
438         }
4390        return menuEditCopy;
4400    }
4410 
442     /**
443      * @return Returns the menuEditCut.
4440     */
445     protected JMenuItem getMenuEditCut() {
4460        if (menuEditCut == null) {
4470            menuEditCut = new JMenuItem(Messages.getString("menubar.edit.cut")); //$NON-NLS-1$
4480            menuEditCut.setAccelerator(KeyStroke.getKeyStroke(
4490                    KeyEvent.VK_X, ActionEvent.CTRL_MASK));
450             
4510            menuEditCut.setIcon(new ImageIcon(this.getClass().getResource(
4520                    "/icon/16x16/actions/edit-cut.png"))); //$NON-NLS-1$
4530        }
4540        return menuEditCut;
455     }
4560 
457     /**
458      * @return Returns the menuEditPaste.
459      */
460     protected JMenuItem getMenuEditPaste() {
4610        if (menuEditPaste == null) {
4620            menuEditPaste = new JMenuItem(Messages.getString("menubar.edit.paste")); //$NON-NLS-1$
4630            menuEditPaste.setAccelerator(KeyStroke.getKeyStroke(
4640                    KeyEvent.VK_V, ActionEvent.CTRL_MASK));
4650            
4660            menuEditPaste.setIcon(new ImageIcon(this.getClass().getResource(
4670                    "/icon/16x16/actions/edit-paste.png"))); //$NON-NLS-1$
4680        }
4690        return menuEditPaste;
470     }
471  
472     /**
473      * @return Returns the menuEditRedo.
474      */
4750    protected JMenuItem getMenuEditRedo() {
4760        if (menuEditRedo == null) {
4770            menuEditRedo = new JMenuItem(Messages.getString("menubar.edit.redo")); //$NON-NLS-1$
4780            menuEditRedo.setAccelerator(KeyStroke.getKeyStroke(
4790                    KeyEvent.VK_Y, ActionEvent.CTRL_MASK));
4800            
4810            menuEditRedo.setIcon(new ImageIcon(this.getClass().getResource(
4820                    "/icon/16x16/actions/edit-redo.png"))); //$NON-NLS-1$
483         }
4840        return menuEditRedo;
485     }
486  
4870    /**
4880     * @return Returns the menuEditUndo.
4890     */
490     protected JMenuItem getMenuEditUndo() {
4910        if (menuEditUndo == null) {
4920            menuEditUndo = new JMenuItem(Messages.getString("menubar.edit.undo")); //$NON-NLS-1$
4930            menuEditUndo.setAccelerator(KeyStroke.getKeyStroke(
4940                    KeyEvent.VK_Z, ActionEvent.CTRL_MASK));
4950            menuEditUndo.setIcon(new ImageIcon(this.getClass().getResource(
4960                    "/icon/16x16/actions/edit-undo.png"))); //$NON-NLS-1$
497         }
4980        return menuEditUndo;
499     }
500  
501     /**
502      * @return Returns the menuEditSelectAll.
503      */
5040    protected JMenuItem getMenuEditSelectAll() {
5050        if (menuEditSelectAll == null) {
5060            menuEditSelectAll = new JMenuItem(Messages.getString("menubar.edit.selectall")); //$NON-NLS-1$
5070            menuEditSelectAll.setAccelerator(KeyStroke.getKeyStroke(
5080                    KeyEvent.VK_A, ActionEvent.CTRL_MASK));
509             
5100            menuEditSelectAll.setIcon(new ImageIcon(this.getClass().getResource(
5110            "/icon/16x16/actions/edit-select-all.png"))); //$NON-NLS-1$
5120        }
5130        return menuEditSelectAll;
514     }
5150 
516     /**
517      * @return Returns the subMenuFileNewUserFromVCard.
5180     */
519     protected JMenuItem getSubMenuFileNewUserFromVCard() {
5200        if (subMenuFileNewUserFromVCard == null) {
5210            subMenuFileNewUserFromVCard = new JMenuItem(Messages.getString("menubar.file.new.userfromvcard")); //$NON-NLS-1$
5220            subMenuFileNewUserFromVCard.setAccelerator(KeyStroke.getKeyStroke(
5230                    KeyEvent.VK_N, ActionEvent.CTRL_MASK));
524             
5250            subMenuFileNewUserFromVCard.setIcon(new ImageIcon(this.getClass().getResource(
5260            "/icon/16x16/actions/contact-new.png"))); //$NON-NLS-1$
5270            subMenuFileNewUserFromVCard.addActionListener(new ActionListener(){
5280 
529                 public void actionPerformed(ActionEvent arg0) {
5300                    logger
531                     .debug("actionPerformed subMenuFileNewUserFromVCard"); //$NON-NLS-1$
532             
533                     CommandExecutor.getInstance().executeCommand(
534                             new ImportUserFromVCardCommand(), false);
535                 }
536                 
537             });
538             
539         }
5400        return subMenuFileNewUserFromVCard;
541     }
5420 
543     /**
544      * @return Returns the subMenuFileExport.
545      */
546     protected JMenu getSubMenuFileExport() {
5470        if (subMenuFileExport == null) {
5480            subMenuFileExport = new JMenu(Messages.getString("menubar.file.export")); //$NON-NLS-1$
5490            subMenuFileExport
5500                    .add(getSubMenuFileExportUserList());
5510            subMenuFileExport
5520                    .add(getSubMenuFileExportSessionList());
553         }
5540        return subMenuFileExport;
5550    }
556  
557     /**
558      * @return Returns the subMenuFileExportSessionList.
559      */
560     protected JMenuItem getSubMenuFileExportSessionList() {
5610        if (subMenuFileExportSessionList == null) {
5620            subMenuFileExportSessionList = new JMenuItem(
5630                    Messages.getString("menubar.file.export.sessionlist")); //$NON-NLS-1$
5640            subMenuFileExportSessionList.setIcon(new ImageIcon(this.getClass().getResource(
5650                    "/icon/16x16/apps/preferences-system-windows.png"))); //$NON-NLS-1$
5660            subMenuFileExportSessionList
5670                    .addActionListener(new ActionListener() {
5680                        public void actionPerformed(ActionEvent arg0) {
569                             logger
570                                     .debug("actionPerformed subMenuFileExportUserList"); //$NON-NLS-1$
571                             CommandExecutor
572                                     .getInstance()
573                                     .executeCommand(
574                                             new ExportSessionListCommand(),false);
575                         }
576                     });
577         }
5780        return subMenuFileExportSessionList;
579     }
580  
581     /**
582      * @return Returns the subMenuFileExportUserList.
583      */
584     protected JMenuItem getSubMenuFileExportUserList() {
5850        if (subMenuFileExportUserList == null) {
5860            subMenuFileExportUserList = new JMenuItem(
5870                    Messages.getString("menubar.file.export.userlist")); //$NON-NLS-1$
5880            subMenuFileExportUserList.setIcon(new ImageIcon(this.getClass().getResource(
5890            "/icon/16x16/apps/system-users.png"))); //$NON-NLS-1$
590  
5910            subMenuFileExportUserList
5920                    .addActionListener(new ActionListener() {
593                         public void actionPerformed(ActionEvent arg0) {
594                             logger
595                                     .debug("actionPerformed subMenuFileExportUserList"); //$NON-NLS-1$
596                             CommandExecutor
597                                     .getInstance()
598                                     .executeCommand(
599                                             new ExportUserListCommand(),false);
600                         }
601                     });
602  
603         }
6040        return subMenuFileExportUserList;
605     }
606 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.