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

Method restorePlotObjects

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

Restores the plot contents (not including axis formats etc) from the snapshot previously created by savePlotObjects(). See also killPlotObjectsSnapshot Use 'update' to update the plot thereafter.

()

Source from the content-addressed store, hash-verified

1592 * previously created by savePlotObjects(). See also killPlotObjectsSnapshot
1593 * Use 'update' to update the plot thereafter. */
1594 public void restorePlotObjects() {
1595 if (allPlotObjectsSnapshot != null)
1596 copyPlotObjectsVector(allPlotObjectsSnapshot, allPlotObjects);
1597 }
1598
1599 /** Deletes the snapshot of the plot contents to make space */
1600 public void killPlotObjectsSnapshot() {

Callers 6

showDialogMethod · 0.80
dialogItemChangedMethod · 0.80
showDialogMethod · 0.80
addObjectFromPlotMethod · 0.80
addObjectFromTableMethod · 0.80
addFitCurveMethod · 0.80

Calls 1

copyPlotObjectsVectorMethod · 0.95

Tested by

no test coverage detected