boolean copy, boolean paste, boolean selectAll, boolean properties) {
final JPopupMenu popmenu = new JPopupMenu();
final JMenuItem i0_open = new JMenuItem("Open in Browser");
final JMenuItem i1_cut = new JMenuItem(new CutAction());
final JMenuItem i2_copy = new JMenuItem(new CopyAction());
final JMenuItem i3_paste = new JMenuItem(new PasteAction());
final JMenuItem i4_select = new JMenuItem(new SelectAllAction());
final JMenuItem i5_props = new JMenuItem("Properties");