public class AutoSaveSettings extends Object implements JIPipeParameterCollection
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent| Constructor and Description |
|---|
AutoSaveSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
autoSave(JIPipeProjectWindow window) |
void |
autoSaveAll() |
int |
getAutoSaveDelay() |
Path |
getCurrentSavePath() |
OptionalPathParameter |
getCustomSavePath() |
EventBus |
getEventBus()
Gets the event bus that posts events about the parameters
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChangepublic static final String ID
public static AutoSaveSettings getInstance()
public void autoSave(JIPipeProjectWindow window)
public Path getCurrentSavePath()
public void autoSaveAll()
public EventBus getEventBus()
JIPipeParameterCollectiongetEventBus in interface JIPipeParameterCollectionJIPipeParameterCollection.ParameterChangedEvent and JIPipeParameterCollection.ParameterStructureChangedEventpublic 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.