MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / save

Method save

src/org/opensourcephysics/tools/DataTool.java:2375–2377  ·  view source on GitHub ↗

Saves the current tab to the specified file. @param fileName the file name @return the name of the saved file, or null if not saved

(String fileName)

Source from the content-addressed store, hash-verified

2373 * @return the name of the saved file, or null if not saved
2374 */
2375 protected String save(String fileName) {
2376 return save(getSelectedTab(), fileName);
2377 }
2378
2379 /**
2380 * Saves a tab to the specified file.

Callers 3

saveChangesAtMethod · 0.95
saveAsMethod · 0.95
actionPerformedMethod · 0.95

Calls 5

getSelectedTabMethod · 0.95
saveAsMethod · 0.95
writeMethod · 0.95
tabChangedMethod · 0.80
equalsMethod · 0.65

Tested by

no test coverage detected