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

Method saveSettings

ij/src/main/java/ij/macro/Functions.java:3037–3072  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3035 }
3036
3037 void saveSettings() {
3038 interp.getParens();
3039 usePointerCursor = Prefs.usePointerCursor;
3040 hideProcessStackDialog = IJ.hideProcessStackDialog;
3041 divideByZeroValue = FloatBlitter.divideByZeroValue;
3042 jpegQuality = FileSaver.getJpegQuality();
3043 saveLineWidth = Line.getWidth();
3044 doScaling = ImageConverter.getDoScaling();
3045 weightedColor = Prefs.weightedColor;
3046 weights = ColorProcessor.getWeightingFactors();
3047 interpolateScaledImages = Prefs.interpolateScaledImages;
3048 open100Percent = Prefs.open100Percent;
3049 blackCanvas = Prefs.blackCanvas;
3050 useJFileChooser = Prefs.useJFileChooser;
3051 debugMode = IJ.debugMode;
3052 foregroundColor =Toolbar.getForegroundColor();
3053 backgroundColor =Toolbar.getBackgroundColor();
3054 roiColor = Roi.getColor();
3055 pointAutoMeasure = Prefs.pointAutoMeasure;
3056 requireControlKey = Prefs.requireControlKey;
3057 useInvertingLut = Prefs.useInvertingLut;
3058 saveSettingsCalled = true;
3059 measurements = Analyzer.getMeasurements();
3060 decimalPlaces = Analyzer.getPrecision();
3061 blackBackground = Prefs.blackBackground;
3062 autoContrast = Prefs.autoContrast;
3063 pasteMode = Roi.getCurrentPasteMode();
3064 plotWidth = PlotWindow.plotWidth;
3065 plotHeight = PlotWindow.plotHeight;
3066 plotFontSize = PlotWindow.getDefaultFontSize();
3067 plotInterpolate = PlotWindow.interpolate;
3068 plotNoGridLines = PlotWindow.noGridLines;
3069 plotNoTicks = PlotWindow.noTicks;
3070 profileVerticalProfile = Prefs.verticalProfile;
3071 profileSubPixelResolution = Prefs.subPixelResolution;
3072 }
3073
3074 void restoreSettings() {
3075 interp.getParens();

Callers 1

doFunctionMethod · 0.95

Calls 12

getJpegQualityMethod · 0.95
getWidthMethod · 0.95
getDoScalingMethod · 0.95
getWeightingFactorsMethod · 0.95
getForegroundColorMethod · 0.95
getBackgroundColorMethod · 0.95
getColorMethod · 0.95
getMeasurementsMethod · 0.95
getPrecisionMethod · 0.95
getCurrentPasteModeMethod · 0.95
getDefaultFontSizeMethod · 0.95
getParensMethod · 0.80

Tested by

no test coverage detected