org.bidib.wizard.common.model.settings.WizardSettingsInterface Maven / Gradle / Ivy
package org.bidib.wizard.common.model.settings;
import org.bidib.wizard.api.model.bean.ObservableBean;
import org.bidib.wizard.common.model.settings.types.Dimension;
import org.bidib.wizard.common.model.settings.types.Frame;
import org.bidib.wizard.common.model.settings.types.Point;
import org.bidib.wizard.model.status.CommandStationStatus;
import org.bidib.wizard.model.status.SpeedSteps;
public interface WizardSettingsInterface extends ObservableBean {
static final String PROPERTY_SHOW_TIP_OF_DAY = "showTipOfDay";
static final String PROPERTY_CS_QUERY_ENABLED = "csQueryEnabled";
static final String PROPERTY_LANGUAGE = "language";
static final String PROPERTY_CHECK_FOR_UPDATES_ENABLED = "checkForUpdatesEnabled";
static final String PROPERTY_POWER_USER = "powerUser";
static final String PROPERTY_ALWAYS_SHOW_PRODUCTNAME_IN_TREE = "alwaysShowProductNameInTree";
static final String PROPERTY_USE_HOPLUG_CONTROLLER = "useHotPlugController";
static final String PROPERTY_LOCAL_PING_ENABLED = "localPingEnabled";
static final String PROPERTY_SHOW_ACTION_IN_LAST_TAB = "showActionInLastTab";
static final String PROPERTY_ALL_BOOSTER_ON_DO_NOT_CONFIRM_SWITCH = "allBoosterOnDoNotConfirmSwitch";
static final String PROPERTY_ALL_BOOSTER_ON_DO_NOT_SEND_SOFTSTOP = "allBoosterOnDoNotSendSoftStop";
static final String PROPERTY_ALL_BOOSTER_ON_SAVED_ACTION = "allBoosterOnSavedAction";
static final String PROPERTY_M4_SUPPORT_ENABLED = "m4SupportEnabled";
static final String PROPERTY_INITIALIZE_LOCO_DECODERS_ENABLED = "initializeLocoDecodersEnabled";
static final String PROPERTY_PERFORM_RESET_AFTER_CONNECT = "performResetAfterConnect";
static final String PROPERTY_NODE_EXPORT_APPEND_DATE_ENABLED = "nodeExportAppendDateEnabled";
static final String PROPERTY_SHOW_BOOSTER_TABLE = "showBoosterTable";
static final String PROPERTY_SHOW_RXTX_VIEW = "showRxTxView";
static final String PROPERTY_APPEND_TO_POSITION_TABLE = "appendToPositionTable";
static final String PROPERTY_LAST_SELECTED_SPEEDSTEPS = "lastSelectedSpeedSteps";
static final String PROPERTY_SHOW_FIRMWARE_UPDATE_UNPLUG_SERVO_WARNING = "showFirmwareUpdateUnplugServoWarning";
static final String PROPERTY_SHOW_FIRMWARE_DOWNLOAD_WARNING = "showFirmwareDownloadWarning";
static final String PROPERTY_SHOW_FIRMWARE_UPDATE_WARNING = "showFirmwareUpdateWarning";
static final String PROPERTY_SHOW_NEW_DEVICE_ALERT = "showNewDeviceAlert";
static final int WIZARD_SETTINGS_VERSION_3 = 3;
static final int WIZARD_SETTINGS_VERSION_4 = 4;
static final int WIZARD_SETTINGS_VERSION_5 = 5;
static final int WIZARD_SETTINGS_VERSION_6 = 6;
static final int WIZARD_SETTINGS_VERSION_7 = 7;
static final int WIZARD_SETTINGS_VERSION_8 = 8;
static final int WIZARD_SETTINGS_VERSION_9 = 9;
static final int WIZARD_SETTINGS_VERSION_10 = 10;
static final int WIZARD_SETTINGS_VERSION_LATEST = WIZARD_SETTINGS_VERSION_10;
/**
* @return the showBoosterTable
*/
boolean isShowBoosterTable();
/**
* @param showBoosterTable
* the showBoosterTable to set
*/
void setShowBoosterTable(boolean showBoosterTable);
/**
* @return the showRxTxView
*/
boolean isShowRxTxView();
/**
* @param showRxTxView
* the showRxTxView to set
*/
void setShowRxTxView(boolean showRxTxView);
/**
* @return the appendToPositionTable flag
*/
boolean isAppendToPositionTable();
/**
* @param appendToPositionTable
* the appendToPositionTable flag to set
*/
void setAppendToPositionTable(boolean appendToPositionTable);
/**
* @return the showTipOfDay flag
*/
boolean isShowTipOfDay();
/**
* @param showTipOfDay
* the showTipOfDay flag to set
*/
void setShowTipOfDay(boolean showTipOfDay);
/**
* @return the lastTipOfDayIndex
*/
int getLastTipOfDayIndex();
/**
* @param lastTipOfDayIndex
* the lastTipOfDayIndex to set
*/
void setLastTipOfDayIndex(int lastTipOfDayIndex);
/**
* @return the csQueryEnabled flag
*/
@Deprecated
boolean isCsQueryEnabled();
/**
* @param csQueryEnabled
* the csQueryEnabled flag to set
*/
@Deprecated
void setCsQueryEnabled(boolean csQueryEnabled);
/**
* @return the showActionInLastTab flag
*/
boolean isShowActionInLastTab();
/**
* @param showActionInLastTab
* the showActionInLastTab flag to set
*/
void setShowActionInLastTab(boolean showActionInLastTab);
/**
* @return the allBoosterOnDoNotConfirmSwitch
*/
boolean isAllBoosterOnDoNotConfirmSwitch();
/**
* @param allBoosterOnDoNotConfirmSwitch
* the allBoosterOnDoNotConfirmSwitch to set
*/
void setAllBoosterOnDoNotConfirmSwitch(boolean allBoosterOnDoNotConfirmSwitch);
/**
* @param allBoosterOnDoNotConfirmSwitch
* the allBoosterOnDoNotConfirmSwitch to set
* @param allBoosterOnSavedAction
* the allBoosterOnSavedAction to set
*/
void setAllBoosterOnDoNotConfirmSwitch(boolean allBoosterOnDoNotConfirmSwitch, int allBoosterOnSavedAction);
/**
* @return the allBoosterOnDoNotSendSoftStop
*/
boolean isAllBoosterOnDoNotSendSoftStop();
/**
* @param allBoosterOnDoNotSendSoftStop
* the allBoosterOnDoNotSendSoftStop to set
*/
void setAllBoosterOnDoNotSendSoftStop(boolean allBoosterOnDoNotSendSoftStop);
/**
* @return the allBoosterOnSavedAction
*/
int getAllBoosterOnSavedAction();
/**
* @param allBoosterOnSavedAction
* the allBoosterOnSavedAction to set
*/
void setAllBoosterOnSavedAction(int allBoosterOnSavedAction);
/**
* @return the allBoosterOnRequestedCommandStationState
*/
CommandStationStatus getAllBoosterOnRequestedCommandStationState();
/**
* @param allBoosterOnRequestedCommandStationState
* the allBoosterOnRequestedCommandStationState to set
*/
void setAllBoosterOnRequestedCommandStationState(CommandStationStatus allBoosterOnRequestedCommandStationState);
/**
* @return the m4SupportEnabled flag
*/
boolean isM4SupportEnabled();
/**
* @param m4SupportEnabled
* the m4SupportEnabled flag to set
*/
void setM4SupportEnabled(boolean m4SupportEnabled);
/**
* @return the initializeLocoDecodersEnabled flag
*/
boolean isInitializeLocoDecodersEnabled();
/**
* @param initializeLocoDecodersEnabled
* the initializeLocoDecodersEnabled flag to set
*/
void setInitializeLocoDecodersEnabled(boolean initializeLocoDecodersEnabled);
/**
* @return the performResetAfterConnect flag
*/
boolean isPerformResetAfterConnect();
/**
* @param performResetAfterConnect
* the performResetAfterConnect flag to set
*/
void setPerformResetAfterConnect(boolean performResetAfterConnect);
/**
* @return the nodeExportAppendDateEnabled
*/
boolean isNodeExportAppendDateEnabled();
/**
* @param nodeExportAppendDateEnabled
* the nodeExportAppendDateEnabled to set
*/
void setNodeExportAppendDateEnabled(boolean nodeExportAppendDateEnabled);
/**
* @return the powerUser
*/
boolean isPowerUser();
/**
* @param powerUser
* the powerUser to set
*/
void setPowerUser(boolean powerUser);
/**
* @return the alwaysShowProductNameInTree
*/
boolean isAlwaysShowProductNameInTree();
/**
* @param alwaysShowProductNameInTree
* the alwaysShowProductNameInTree to set
*/
void setAlwaysShowProductNameInTree(boolean alwaysShowProductNameInTree);
/**
* Save the window position.
*
* @param position
* the position
* @param windowSize
* the size
* @param extendedState
* the extended state
*/
void saveWindowPosition(Point position, Dimension windowSize, int extendedState);
/**
* @return the windowPosition
*/
Frame getFrame();
/**
* @param frame
* the windowPosition to set
*/
void setFrame(Frame frame);
/**
* @return the ptModeDoNotConfirmSwitch
*/
boolean isPtModeDoNotConfirmSwitch();
/**
* @param ptModeDoNotConfirmSwitch
* the ptModeDoNotConfirmSwitch to set
*/
void setPtModeDoNotConfirmSwitch(boolean ptModeDoNotConfirmSwitch);
/**
* @param key
* the directory key
* @return the workingDirectory
*/
String getWorkingDirectory(String key);
/**
* @param key
* the directory key
* @param workingDirectory
* the workingDirectory to set
*/
void setWorkingDirectory(String key, String workingDirectory);
/**
* @return the firmware directory
*/
String getFirmwareDirectory();
/**
* @param firmwareDirectory
* the firmware directory to set
*/
void setFirmwareDirectory(String firmwareDirectory);
/**
* @return the showFirmwareUpdateUnplugServoWarning
*/
boolean isShowFirmwareUpdateUnplugServoWarning();
/**
* @param showFirmwareUpdateUnplugServoWarning
* the showFirmwareUpdateUnplugServoWarning to set
*/
void setShowFirmwareUpdateUnplugServoWarning(boolean showFirmwareUpdateUnplugServoWarning);
/**
* @return the use hotplug controller flag
*/
boolean isUseHotPlugController();
/**
* @param useHotPlugController
* the useHotPlugController flag to set
*/
void setUseHotPlugController(boolean useHotPlugController);
/**
* @return the localPingEnabled
*/
boolean isLocalPingEnabled();
/**
* @param localPingEnabled
* the localPingEnabled to set
*/
void setLocalPingEnabled(boolean localPingEnabled);
/**
* @return the language
*/
String getLanguage();
/**
* @param language
* the language to set
*/
void setLanguage(String language);
/**
* @return the lastSelectedSpeedSteps
*/
SpeedSteps getLastSelectedSpeedSteps();
/**
* @param lastSelectedSpeedSteps
* the lastSelectedSpeedSteps to set
*/
void setLastSelectedSpeedSteps(SpeedSteps lastSelectedSpeedSteps);
/**
* @return the window size
*/
String getWindowSize(String key);
/**
* @param windowSize
* the windowSize to set
*/
void setWindowSize(String key, String windowSize);
/**
* @return the showFirmwareDownloadWarning flag
*/
boolean isShowFirmwareDownloadWarning();
/**
* @param showFirmwareDownloadWarning
* the showFirmwareDownloadWarning flag to set
*/
void setShowFirmwareDownloadWarning(boolean showFirmwareDownloadWarning);
/**
* @return the showFirmwareUpdateWarning
*/
boolean isShowFirmwareUpdateWarning();
/**
* @param showFirmwareUpdateWarning
* the showFirmwareUpdateWarning to set
*/
void setShowFirmwareUpdateWarning(boolean showFirmwareUpdateWarning);
/**
* @return the checkForUpdatesEnabled
*/
boolean isCheckForUpdatesEnabled();
/**
* @param checkForUpdatesEnabled
* the checkForUpdatesEnabled to set
*/
void setCheckForUpdatesEnabled(boolean checkForUpdatesEnabled);
/**
* @return the showNewDeviceAlert
*/
boolean isShowNewDeviceAlert();
/**
* @param showNewDeviceAlert
* the showNewDeviceAlert to set
*/
void setShowNewDeviceAlert(boolean showNewDeviceAlert);
}