public class AutoSaveSettings extends AbstractJIPipeParameterCollection
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
AutoSaveSettings() |
Modifier and Type | Method and Description |
---|---|
void |
autoSave(JIPipeProjectWindow window) |
void |
autoSaveAll() |
int |
getAutoSaveDelay() |
Path |
getCurrentSavePath() |
OptionalPathParameter |
getCustomSavePath() |
static AutoSaveSettings |
getInstance() |
List<Path> |
getLastBackups() |
boolean |
isEnableAutoSave() |
void |
openRestoreMenu(JIPipeWorkbench workbench) |
void |
removeDuplicateBackups(JIPipeWorkbench workbench) |
boolean |
setAutoSaveDelay(int autoSaveDelay) |
void |
setCustomSavePath(OptionalPathParameter customSavePath) |
void |
setEnableAutoSave(boolean enableAutoSave) |
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, setParameter
public static final String ID
public static AutoSaveSettings getInstance()
public void autoSave(JIPipeProjectWindow window)
public Path getCurrentSavePath()
public void autoSaveAll()
public boolean isEnableAutoSave()
public void setEnableAutoSave(boolean enableAutoSave)
public int getAutoSaveDelay()
public boolean setAutoSaveDelay(int autoSaveDelay)
public OptionalPathParameter getCustomSavePath()
public void setCustomSavePath(OptionalPathParameter customSavePath)
public void removeDuplicateBackups(JIPipeWorkbench workbench)
public void openRestoreMenu(JIPipeWorkbench workbench)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.