MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / savePlotObjects

Method savePlotObjects

ij/src/main/java/ij/gui/Plot.java:1586–1589  ·  view source on GitHub ↗

Creates a snapshot of the plot contents (not including axis formats etc), for later undo by restorePlotObjects. See also killPlotObjectsSnapshot

()

Source from the content-addressed store, hash-verified

1584 /** Creates a snapshot of the plot contents (not including axis formats etc),
1585 * for later undo by restorePlotObjects. See also killPlotObjectsSnapshot */
1586 public void savePlotObjects() {
1587 allPlotObjectsSnapshot = new Vector<PlotObject>(allPlotObjects.size());
1588 copyPlotObjectsVector(allPlotObjects, allPlotObjectsSnapshot);
1589 }
1590
1591 /** Restores the plot contents (not including axis formats etc) from the snapshot
1592 * previously created by savePlotObjects(). See also killPlotObjectsSnapshot

Callers 2

showDialogMethod · 0.80
showDialogMethod · 0.80

Calls 2

copyPlotObjectsVectorMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected