windowMenu.add(preferencesAction);
//windowMenu.add(ActionFactory.EDIT_ACTION_SETS.create(window));
//windowMenu.add(showView);
MenuManager perspectiveMenu = new MenuManager("Open Perspective");
IContributionItem perspectiveList = ContributionItemFactory.PERSPECTIVES_SHORTLIST.create(workbenchWindow);
perspectiveMenu.add(perspectiveList);
windowMenu.add(perspectiveMenu);
MenuManager viewMenu = new MenuManager("Show View");
IContributionItem viewList = ContributionItemFactory.VIEWS_SHORTLIST.create(workbenchWindow);
viewMenu.add(viewList);
windowMenu.add(viewMenu);
toolMenu = new MenuManager("Tools","tools");
menuBar.add(toolMenu);