* @param observable the controller to which this menu bar is added
*/
public RupsMenuBar(Observable observable) {
this.observable = observable;
items = new HashMap<String, JMenuItem>();
fileChooserAction = new FileChooserAction(observable, "Open", PdfFilter.INSTANCE, false);
MessageAction message = new MessageAction();
JMenu file = new JMenu(FILE_MENU);
addItem(file, OPEN, fileChooserAction);
addItem(file, CLOSE, new FileCloseAction(observable));
add(file);