Class PreferencesHelper
java.lang.Object
org.csstudio.opibuilder.preferences.PreferencesHelper
This is the central place for preference related operations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static IPathgetAbsolutePathOnRepo(String pathString) Return the absolute path based on OPI Repository.static Integerstatic LinkedHashMap<String,String> Get the macros map from preference store.static IPathstatic Integerstatic Integerstatic IPathprotected static Stringprotected static Stringstatic booleanstatic booleanstatic voidsetSchemaOPIPath(IPath path) static voidsetShowFullScreenDialog(boolean show)
-
Field Details
-
COLORS
- See Also:
-
FONTS
- See Also:
-
RUN_MACROS
- See Also:
-
AUTOSAVE
- See Also:
-
OPI_GUI_REFRESH_CYCLE
- See Also:
-
PROBE_OPI
- See Also:
-
SCHEMA_OPI
- See Also:
-
PYTHON_PATH
- See Also:
-
SHOW_FULLSCREEN_DIALOG
- See Also:
-
PULSING_ALARM_MINOR_PERIOD
- See Also:
-
PULSING_ALARM_MAJOR_PERIOD
- See Also:
-
HIDDEN_WIDGETS
- See Also:
-
-
Constructor Details
-
PreferencesHelper
public PreferencesHelper()
-
-
Method Details
-
getString
-
getString
-
getProbeOPIPath
-
getSchemaOPIPath
-
setSchemaOPIPath
-
isAutoSaveBeforeRunning
public static boolean isAutoSaveBeforeRunning() -
getGUIRefreshCycle
-
getPulsingAlarmMinorPeriod
-
getPulsingAlarmMajorPeriod
-
getMacros
Get the macros map from preference store.- Returns:
- the macros map. null if failed to get macros from preference store.
-
getHiddenWidgets
- Returns:
- typeId of widgets that should be hidden from the palette.
-
getPythonPath
- Throws:
Exception
-
isShowFullScreenDialog
public static boolean isShowFullScreenDialog() -
setShowFullScreenDialog
public static void setShowFullScreenDialog(boolean show) -
getAbsolutePathOnRepo
Return the absolute path based on OPI Repository.
-