public static void executeMenuOrButtonBarAction(String action_id) {
        switch (action_id) {
            //FileMenu functionality
            case "create_new":
                GlobalController.clearPetriNetEditor();
                break;
            case "open":
                openFile();
                break;
            case "save":
                saveFile();
                break;
            case "exit":
                System.exit(0);
                break;
            //options menu
            case "toggle_opacity":
                GlobalController.toggleOpacity();
                break;
            //change ActionMode functionality
            case "select_mode":
                GlobalController.setActionMode(GlobalController.ACTION_SELECT);
                break;
            case "place_mode":
                GlobalController.setActionMode(GlobalController.ACTION_PLACE);
                break;
            case "transition_mode":
                GlobalController.setActionMode(GlobalController.ACTION_TRANSITION);
                break;
            case "arc_mode":
                GlobalController.setActionMode(GlobalController.ACTION_ARC);
                break;

        }

        return;
    }