winMenu.setMnemonic('w');
JMenuItem restoreSplitMenuItem = new JMenuItem(
new DefaultWindowLayoutAction(this));
winMenu.add(restoreSplitMenuItem);
winMenu.add(new ShowViewAction(viewFactory
.getView(BossaNovaViewFactory.BATCH_PANEL)));
winMenu.add(new ShowViewAction(viewFactory
.getView(BossaNovaViewFactory.DIRECTOR_PANEL)));
winMenu.add(new ShowViewAction(viewFactory
.getView(BossaNovaViewFactory.PARAMETERS_PANEL)));
// Bug 17641
//winMenu.add(new ShowViewAction(viewFactory
// .getView(BossaNovaViewFactory.VIEW_PANEL)));
// End Bug 17641
winMenu.add(new ShowViewAction(viewFactory
.getView(BossaNovaViewFactory.LOG_PANEL)));
menuBar.add(winMenu);
StateMachine.getInstance().registerActionForState(
StateMachine.MODEL_OPEN, HMIMessages.MENU_PREFS, menuBar);