Class PreferencesHelper
java.lang.Object
org.csstudio.opibuilder.preferences.PreferencesHelper
This is the central place for preference related operations.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static IPath
getAbsolutePathOnRepo
(String pathString) Return the absolute path based on OPI Repository.static Integer
static LinkedHashMap<String,
String> Get the macros map from preference store.static IPath
static Integer
static Integer
static IPath
protected static String
protected static String
static boolean
static boolean
static void
setSchemaOPIPath
(IPath path) static void
setShowFullScreenDialog
(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.
-