public class PropertySaver extends Object
| Constructor and Description |
|---|
PropertySaver() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadProperties(SegmentationController control)
Tries to find a user.home and .dmesh3d file for user preferences to reload the last used constants.
|
static void |
loadProperties(SegmentationController control,
File props)
Tries to find a user.home and .dmesh3d file for user preferences to reload the last used constants.
|
static void |
positionFrames(ControlFrame control,
MeshFrame3D mf3d)
For setting up the position of the windows.
|
static void |
saveProperties(SegmentationController control)
Tries to save the currently set properties/constants.
|
static void |
saveProperties(SegmentationController control,
File props) |
public static void loadProperties(SegmentationController control) throws IOException
control - where the values go.IOExceptionpublic static void loadProperties(SegmentationController control, File props) throws IOException
control - where the values go.props - file properties will be loaded from.IOExceptionpublic static void saveProperties(SegmentationController control) throws IOException
control - IOExceptionpublic static void saveProperties(SegmentationController control, File props) throws IOException
IOExceptionpublic static void positionFrames(ControlFrame control, MeshFrame3D mf3d)
control - mf3d - Copyright © 2013–2022 Francis Crick Institute. All rights reserved.