/** * Make Favorites add/remove persistent ("bar" in swing client) * * @param add true if add - otherwise remove * @param Node_ID Node ID * @return true if updated */ public boolean updateFavorites(boolean add, int Node_ID) { /* * Code logic now uses MUser to store favorites. TODO: * VTreePanel.barDBupdate should be similarly updated or deprecated for * Swing client. */ MUser user = MUser.get(getContext()); return user.addUserMenuFavorite(Node_ID, 0); } // updateFavorites