private JMenuBar createApplicationMenuBar() {
JMenuBar menuBar = new JMenuBar();
JMenu showViewMenu = new JMenu("Show View");
showViewMenu.add(new DefaultDisplayAction(BIRD_VIEW));
showViewMenu.add(new DefaultDisplayAction(MESSAGE_VIEW));
showViewMenu.add(new DefaultDisplayAction(PROBLEM_VIEW));
showViewMenu.add(new DefaultDisplayAction(CONSOLE_VIEW));
JMenu perspectiveMenu = new JMenu("Perspective");
//pobieramy perspektywe nr 1
perspectiveMenu.add(new OpenPerspectiveAction(P1));
// perspectiveMenu.add(new OpenPerspectiveAction(P2));