public void saveMapAs(String originID, String mapID,
String newOriginID, String newMapID) {
((BSMapWinManager)winMan).saveMap(originID, mapID, newOriginID, newMapID);
MapTag map = ((BSMapWinManager)winMan).getMap(newOriginID, newMapID);
// copies all necessary referenced files into working directory
if (!((BSMapWinManager)winMan).copyFilesForMap(map, originID, newOriginID)) {
JOptionPane.showMessageDialog(docked? mainFrame : frame,
"Could not copy all referenced files",
"Add map error",