Package ucar.unidata.idv
Class IdvResourceManager
java.lang.Object
ucar.unidata.ui.WindowHolder
ucar.unidata.idv.IdvManager
ucar.unidata.idv.IdvResourceManager
- All Implemented Interfaces:
ActionListener,EventListener,HyperlinkListener,IdvConstants
This class manages the set of resources that are used to instantiate the IDV.
The idea is that the idv has a number of "rbi" (resource bundle for the idv)
files that define the different collections of resources. For each collection (e.g.,
colortables, derived quantities) there is a list of locations that specify the file
(either xml or text) that defines the particular resource.
For example in resources/idv.rbi we have:
<resources name="idv.resource.colortables"> <resource location="%USERPATH%/colortables.xml"/> <resource location="%SITEPATH%/colortables.xml"/> <resource location="%IDVPATH%/colortables.xml"/> </resources>This defines the collection of color table resources. The %USERPATH%, etc., are macros that are replaced with the corresponding value.
This class has a set of static IdvResource and XmlIdvResource members,
one for each resource collection, e.g., RSC_COLORTABLES.
The IdvResource objects are those that point to text resources. The XmlIdvResource
objects point to xml files. These objects provide methods to access the
ResourceCollection and
XmlResourceCollection objects that actually do the
work of reading in the resources, creating the xml doms, etc.
- Author:
- IDV development team
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass IdvResource holds the resources files for a particular type of resourcestatic classClass XmlIdvResource. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXml attr name for the "id" attribute in the rbi filestatic final StringXml attr name for the "label" attribute in the rbi filestatic final StringXml attr name for the "loadmore" attribute in the rbi filestatic final StringXml attr name for the "location" attribute in the rbi filestatic final Stringxml attributestatic final StringXml attr name for the "removeprevious" attribute in the rbi filestatic final StringXml attr name for the "type" attribute in the rbi filestatic final StringXml attr name for the "value" attribute in the rbi filestatic booleanprotected static ListList of static IdvResource objectsstatic final IdvResourceManager.XmlIdvResourcePoints to the skin xmlstatic final IdvResourceManager.IdvResourcePoints to the adde server descriptionsstatic final IdvResourceManager.IdvResourcePoints to data aliasesstatic final IdvResourceManager.XmlIdvResourcePoints to the automatic display creation xmlstatic final IdvResourceManager.XmlIdvResourcePoints to the background image defaultsstatic final IdvResourceManager.IdvResourcePoints to xidv bundle filesstatic final IdvResourceManager.IdvResourcePoints to canned bundlesstatic final IdvResourceManager.IdvResourcePoints to the specification of the choosers uistatic final IdvResourceManager.XmlIdvResourcePoints to the pairs of foreground/background colorsstatic final IdvResourceManager.IdvResourcePoints to the color tablesstatic final IdvResourceManager.IdvResourcePoints to the control descriptor specificationstatic final IdvResourceManager.IdvResourcePoints to the data source descriptionsstatic final IdvResourceManager.IdvResourcePoints to the derived quantities and end user formulasstatic final IdvResourceManager.IdvResourcePoints to the projectionsstatic final IdvResourceManager.IdvResourcePoints to the gempak parameter look up tablesstatic final IdvResourceManager.IdvResourcePoints to the mapsstatic final IdvResourceManager.IdvResourcePoints to the grib look up tablesstatic final IdvResourceManager.IdvResourcePoints to the grib look up tablesstatic final IdvResourceManager.IdvResourcePoints to the help tipsstatic final IdvResourceManager.XmlIdvResourcePoints to the adde image defaultsstatic final IdvResourceManager.XmlIdvResourcePoints to the background image defaultsstatic final IdvResourceManager.IdvResourcePoints to jython librariesstatic final IdvResourceManager.IdvResourcePoints to jython libraries that are to be copied into the local Jython directorystatic final IdvResourceManager.IdvResourcePoints to the location files (e.g., nexrad stations)static final IdvResourceManager.IdvResourcePoints to the mapsstatic final IdvResourceManager.IdvResourcePoints to the menu bar xmlstatic final IdvResourceManager.IdvResourcePoints to the message catalogsstatic final IdvResourceManager.IdvResourcePoints to netcdf-Java config filesstatic final IdvResourceManager.IdvResourcePoints to the parameter defaultsstatic final IdvResourceManager.IdvResourcePoints to the parameter groupsstatic final IdvResourceManager.IdvResourceresource listing the plugins indexstatic final IdvResourceManager.IdvResourcePoints to pluginstatic final IdvResourceManager.IdvResourcePoints to user preferencesstatic final IdvResourceManager.IdvResourcePoints to the projectionsstatic final IdvResourceManager.IdvResourcePoints to prototypesstatic final IdvResourceManager.IdvResourcePublishersstatic final IdvResourceManager.IdvResourcePublishersstatic final IdvResourceManager.IdvResourcePoints to the quicklink pagesstatic final IdvResourceManager.XmlIdvResourcePoints to the skin xmlstatic final IdvResourceManager.IdvResourcePoints to station modelsstatic final IdvResourceManager.XmlIdvResourcePoints to station model symbolsstatic final IdvResourceManager.XmlIdvResourcePoints to the skin xmlstatic final IdvResourceManager.IdvResourcePoints to the projectionsstatic final IdvResourceManager.IdvResourcestatic final IdvResourceManager.XmlIdvResourcePoints to url mapsstatic final IdvResourceManager.IdvResourcePoints to the user created chooser componentsstatic final IdvResourceManager.XmlIdvResourcePoints to Variable name maps (to handle loading data when variable names change)static final IdvResourceManager.IdvResourceviewpointsstatic final StringXml tag namestatic final StringXml tag name for the "resource" tag in the rbi filestatic final Stringresource bundle tagstatic final StringXml tag name for the "resources" tag in the rbi fileFields inherited from class ucar.unidata.ui.WindowHolder
contents, dialog, frame, windowFields inherited from interface ucar.unidata.idv.IdvConstants
ARG_B64BUNDLE, ARG_B64ISL, ARG_BUNDLE, ARG_CATALOG, ARG_CHOOSER, ARG_CLEARDEFAULT, ARG_CODE, ARG_CONNECT, ARG_CURRENTTIME, ARG_DATA, ARG_DEBUG, ARG_DEFAULT, ARG_DISPLAY, ARG_DXML, ARG_FIXEDTIME, ARG_HELP, ARG_IMAGE, ARG_IMAGESERVER, ARG_INSTALLPLUGIN, ARG_ISLFILE, ARG_ISLINTERACTIVE, ARG_LISTRESOURCES, ARG_MAINCLASS, ARG_MOVIE, ARG_MSG_DEBUG, ARG_MSG_RECORD, ARG_NODEFAULT, ARG_NOERRORSINGUI, ARG_NOGUI, ARG_NOONEINSTANCE, ARG_NOPLUGINS, ARG_NOPREF, ARG_ONEINSTANCEPORT, ARG_PLUGIN, ARG_PORT, ARG_PRINTJNLP, ARG_PROPERTIES, ARG_SCRIPT, ARG_SERVER, ARG_SETFILES, ARG_SITEPATH, ARG_TEMPLATE, ARG_TEST, ARG_TESTEVAL, ARG_TRACE, ARG_TRACEONLY, ARG_USERPATH, DEFAULT_DATE_FORMAT, DEFAULT_DOCPATH, DEFAULT_TIMEZONE, FILTER_CPT, FILTER_ISL, FILTER_JNLP, FILTER_XIDV, FILTER_XIDVZIDV, FILTER_XML, FILTER_ZIDV, ID_COMMANDSTORUN, ID_DATASOURCES, ID_DISPLAYCONTROLS, ID_IDV, ID_JYTHON, ID_MESSAGE, ID_MISCHASHTABLE, ID_NCIDV_VERSION, ID_VERSION, ID_VIEWMANAGERS, ID_WINDOWS, INITIAL_PROBE_EARTHLOCATION, NULL_DATA_SELECTION, NULL_STRING, PREF_APPEARANCEMODE, PREF_ARCHIVEDIR, PREF_ARCHIVENAME, PREF_AUTODISPLAYS_ENABLE, PREF_AUTODISPLAYS_SHOWGUI, PREF_AUTOSELECTDATA, PREF_CACHESIZE, PREF_CONTROLSINTABS, PREF_DATAPREFIX, PREF_DATE_FORMAT, PREF_DISTANCEUNIT, PREF_DOCACHE, PREF_EMBEDDATACHOOSERINDASHBOARD, PREF_EMBEDFIELDSELECTORINDASHBOARD, PREF_EMBEDLEGENDINDASHBOARD, PREF_EMBEDQUICKLINKSINDASHBOARD, PREF_EVENT_KEYBOARDMAP, PREF_EVENT_MOUSEMAP, PREF_EVENT_WHEELMAP, PREF_FAST_RENDER, PREF_FIELD_CACHETHRESHOLD, PREF_FILEREADDIR, PREF_FILEWRITEDIR, PREF_GEOMETRY_BY_REF, PREF_HISTORY, PREF_IMAGE_BY_REF, PREF_LARGE_REMOTE_DATA_WARN, PREF_LASTVERSION, PREF_LATLON_FORMAT, PREF_LEGEND_SHOWICONS, PREF_LOCALE, PREF_LOOKANDFEEL, PREF_MAXIMAGESIZE, PREF_MEMORY, PREF_NPOT_IMAGE, PREF_OPEN_ASK, PREF_OPEN_MERGE, PREF_OPEN_REMOVE, PREF_PROJ_LIST, PREF_SAMPLINGMODE, PREF_SHOWCONTROLWINDOW, PREF_SHOWDASHBOARD, PREF_SHOWDECODEDIALOG, PREF_SHOWHIDDENFILES, PREF_SHOWQUITCONFIRM, PREF_SITEPATH, PREF_THREADS_DATA, PREF_THREADS_RENDER, PREF_TIMEZONE, PREF_VERTICALCS, PREF_VERTICALUNIT, PREF_WINDOW_SHOWTOOLBAR, PREF_ZIDV_ASK, PREF_ZIDV_DIRECTORY, PREF_ZIDV_SAVETOTMP, PROP_3DMODE, PROP_ABOUTTEXT, PROP_APPRESOURCEPATH, PROP_CHOOSERS, PROP_CHOOSERS_ALL, PROP_CONTROLDESCRIPTORS, PROP_CONTROLDESCRIPTORS_ALL, PROP_DATAHOLDERBOUNDS, PROP_DEFAULTLOCATIONS, PROP_DISPLAYLIST_GROUP, PROP_FIXFILELOCKUP, PROP_JNLPCODEBASE, PROP_JNLPTEMPLATE, PROP_JNLPTITLE, PROP_LOADINGXML, PROP_MAP_GLOBE_LEVEL, PROP_MAP_MAP_LEVEL, PROP_MINIMUMFRAMECYCLETIME, PROP_MONITORPORT, PROP_OLDCONTROLDESCRIPTORS, PROP_ONEINSTANCEPORT, PROP_PREFERENCES, PROP_PROJ_NAME, PROP_RESOURCEFILES, PROP_SHOWCLOCK_DASH, PROP_SHOWCLOCK_VIEW, PROP_SHOWDASHBOARD, PROP_SHOWDATATREE, PROP_SHOWFORMULAS, PROP_SHOWSPLASH, PROP_SPLASHICON, PROP_UI_DESKTOP, PROP_USE_DISPLAYAREA, PROP_USE_TIMEDRIVER, PROP_VERSIONFILE, PROP_WINDOW_SCREENSIZEOFFSET, PROP_WINDOW_SIZEHEIGHT, PROP_WINDOW_SIZEWIDTH, PROP_WINDOW_USESCREENSIZE, SUFFIX_BAT, SUFFIX_CPT, SUFFIX_ISL, SUFFIX_JNLP, SUFFIX_RBI, SUFFIX_SH, SUFFIX_XIDV, SUFFIX_XML, SUFFIX_ZIDV -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDisplaySetting(DisplaySetting displaySetting) Add new display settingvoidRemove all default bundlesvoidClear the macro valuescreateMapInfo(boolean forGlobe) A utility to instantiate a MapInfo from the maps resourcesprotected ResourceCollectionCreate, if needed, and return the ResourceCollection defined by the given idprotected XmlResourceCollectionCreate, if needed, and return the XmlResourceCollection defined by the given idvoiddisplaySettingChanged(DisplaySetting displaySetting) handle when a display setting changedfindDisplaySetting(String name) Find display setting by namefindLocations(String name) Find the NamedStationTable with the given namefindLocationsByType(String type) Find the NamedStationTable with the given nameReturn the path used to substitute the %APPPATH% macro for in the resource list properties.Return the path used to substitute the %DATAPATH% macro for in the resource list properties.Find the default NamedStationTableGet all display settingslongget timestampCreate the html representation of the list of resources.Return the path used to substitute the %IDVPATH% macro for in the resource list properties.Create (if null) and return the list NamedStationTable-s defined by the locationResources XmlResourceCollection.protected HashtableGet map of macro name -> value.getMapResources(boolean forGlobe) _more_getMaps()_more_protected ListgetResourceList(String propName) Do a property lookup of the given resource list property.getResourcePath(String path) Do the macro expansiongetResourcePaths(List paths) For each string in the given paths list do a textual substitution of a set of macros with their values (e.g., %USERPATH%).Get the resourcesgetResources(String id) Lookup up in the resource collections map the ResouceCollection with the given idgetResources(IdvResourceManager.IdvResource resource) Create, if needed, and return theResourceCollectionthat is represented by the given resource.Get the list of resources for the userA hardcoded url base to find resources atReturn the path used to substitute the %SITEPATH% macro for in the resource list properties.Get the list of transectsReturn the path used to substitute the %USERHOME% macro for in the resource list properties.Return the path used to substitute the %USERPATH% macro for in the resource list properties.getXmlResources(String name) Lookup up in the resource collections map the XmlResouceCollection with the given idCreate, if needed, and return theXmlResourceCollectionthat is represented by the given resource.voidRespond to events from the html view.protected voidCreate the set of resources (defined in the idv.properties file) and do the relevant initializations.voidprocessRbi(Element root) Process the top level root of the rbi xml fileprotected voidprocessRbi(Element root, boolean payAttentionToLoadMore) Process the top level root of the rbi xml filevoidremoveDisplaySetting(DisplaySetting displaySetting) Remove display settingvoidRemove list of display settingsbooleanremoveLocalMaps(boolean forGlobe) Remove any local maps.xml filevoidRemove the resources identified by idvoidShow the html representation of the list of resourcesvoidwriteMapState(String mapsXml, boolean forGlobe) Write out the given maps xml to the writable resourcevoidWrite the non-system transects in the list to the users transects resource fileMethods inherited from class ucar.unidata.idv.IdvManager
getArgsManager, getCollabManager, getColorTableManager, getDataManager, getIdv, getIdvChooserManager, getIdvClass, getIdvProjectionManager, getIdvUIManager, getImageGenerator, getInstallManager, getJythonManager, getPersistenceManager, getPreferenceManager, getProperty, getProperty, getProperty, getPublishManager, getResourceManager, getStateManager, getStationModelManager, getStore, getVMManager, logException, showNormalCursor, showWaitCursor, waitUntilDisplaysAreDone, waitUntilDisplaysAreDoneMethods inherited from class ucar.unidata.ui.WindowHolder
actionPerformed, close, doMakeContents, getContents, getDialog, getFrame, getWindow, getWindowTitle, isShowing, removeAll, setMenuBar, setWindowTitle, shouldMakeDialog, show, show, showModal, toFront, windowIsClosing
-
Field Details
-
TAG_RESOURCES
Xml tag name for the "resources" tag in the rbi file- See Also:
-
TAG_RESOURCEBUNDLE
resource bundle tag- See Also:
-
TAG_RESOURCE
Xml tag name for the "resource" tag in the rbi file- See Also:
-
TAG_PROPERTY
Xml tag name- See Also:
-
ATTR_LOADMORE
Xml attr name for the "loadmore" attribute in the rbi file- See Also:
-
ATTR_REMOVEPREVIOUS
Xml attr name for the "removeprevious" attribute in the rbi file- See Also:
-
ATTR_NAME
xml attribute- See Also:
-
ATTR_ID
Xml attr name for the "id" attribute in the rbi file- See Also:
-
ATTR_VALUE
Xml attr name for the "value" attribute in the rbi file- See Also:
-
ATTR_LABEL
Xml attr name for the "label" attribute in the rbi file- See Also:
-
ATTR_LOCATION
Xml attr name for the "location" attribute in the rbi file- See Also:
-
ATTR_RESOURCETYPE
Xml attr name for the "type" attribute in the rbi file- See Also:
-
resources
List of static IdvResource objects -
RSC_COLORTABLES
Points to the color tables -
RSC_STATIONMODELS
Points to station models -
RSC_VIEWPOINTS
viewpoints -
RSC_PROJECTIONS
Points to the projections -
RSC_PARAMDEFAULTS
Points to the parameter defaults -
RSC_DISPLAYSETTINGS
Points to the projections -
RSC_ALIASES
Points to data aliases -
RSC_TRANSLATIONS
-
RSC_BUNDLEXML
Points to canned bundles -
RSC_DERIVED
Points to the derived quantities and end user formulas -
RSC_JYTHON
Points to jython libraries -
RSC_SKIN
Points to the skin xml -
RSC_QUICKLINKS
Points to the quicklink pages -
RSC_TRANSECTS
Points to the projections -
RSC_MESSAGES
Points to the message catalogs -
RSC_GRIB1LOOKUPTABLES
Points to the grib look up tables -
RSC_GRIB2LOOKUPTABLES
Points to the grib look up tables -
RSC_GEMPAKGRIDPARAMTABLES
Points to the gempak parameter look up tables -
RSC_JYTHONTOCOPY
Points to jython libraries that are to be copied into the local Jython directory -
RSC_IMAGEDEFAULTS
Points to the adde image defaults -
RSC_BACKGROUNDWMS
Points to the background image defaults -
RSC_IMAGESETS
Points to the background image defaults -
RSC_AUTODISPLAYS
Points to the automatic display creation xml -
RSC_TOOLBAR
Points to the skin xml -
RSC_ACTIONS
Points to the skin xml -
RSC_STATIONSYMBOLS
Points to station model symbols -
RSC_COLORPAIRS
Points to the pairs of foreground/background colors -
RSC_VARIABLERENAMER
Points to Variable name maps (to handle loading data when variable names change) -
RSC_URLMAPS
Points to url maps -
RSC_DATASOURCE
Points to the data source descriptions -
RSC_ADDESERVER
Points to the adde server descriptions -
RSC_CHOOSERS
Points to the specification of the choosers ui -
RSC_BUNDLES
Points to xidv bundle files -
RSC_CONTROLS
Points to the control descriptor specification -
RSC_HELPTIPS
Points to the help tips -
RSC_LOCATIONS
Points to the location files (e.g., nexrad stations) -
RSC_GLOBEMAPS
Points to the maps -
RSC_MAPS
Points to the maps -
RSC_MENUBAR
Points to the menu bar xml -
RSC_PARAMGROUPS
Points to the parameter groups -
RSC_USERCHOOSER
Points to the user created chooser components -
RSC_PREFERENCES
Points to user preferences -
RSC_PLUGINS
Points to plugin -
RSC_PLUGININDEX
resource listing the plugins index -
RSC_PROTOTYPES
Points to prototypes -
RSC_NJCONFIG
Points to netcdf-Java config files -
RSC_PUBLISHERS
Publishers -
RSC_PUBLISHERTYPES
Publishers -
hasInitializedTranslations
public static boolean hasInitializedTranslations -
translationTables
-
-
Constructor Details
-
IdvResourceManager
Create me- Parameters:
idv- The IDV
-
-
Method Details
-
getResources
Get the resources- Returns:
- List of all resources
-
getResourcesForUser
Get the list of resources for the user- Returns:
- the list of resources
-
getResources
Create, if needed, and return theResourceCollectionthat is represented by the given resource.- Parameters:
resource- The resource- Returns:
- The resource collection
-
getXmlResources
Create, if needed, and return theXmlResourceCollectionthat is represented by the given resource.- Parameters:
resource- The resource- Returns:
- The resource collection
-
clearDefaultBundles
public void clearDefaultBundles()Remove all default bundles -
showHtmlView
public void showHtmlView()Show the html representation of the list of resources -
getHtmlView
Create the html representation of the list of resources.- Returns:
- The html
-
hyperlinkUpdate
Respond to events from the html view. Bring up the editor for the resource if there is one, etc.- Specified by:
hyperlinkUpdatein interfaceHyperlinkListener- Parameters:
e- The event
-
processRbi
Process the top level root of the rbi xml file- Parameters:
root- The root of the rbi file
-
processRbi
Process the top level root of the rbi xml file- Parameters:
root- The root of the rbi filepayAttentionToLoadMore- Flags whether we should stop processing when we encounter a "loadmore" tag in the rbi xml
-
createResourceCollection
Create, if needed, and return the ResourceCollection defined by the given id- Parameters:
id- The id of the resource, e.g., idv.resource.colortables- Returns:
- The resource collection
-
createXmlResourceCollection
Create, if needed, and return the XmlResourceCollection defined by the given id- Parameters:
id- The id of the resource, e.g., idv.resource.colortables- Returns:
- The xml resource collection
-
getResources
Lookup up in the resource collections map the ResouceCollection with the given id- Parameters:
id- The resource id- Returns:
- The resource collection or null if not found
-
removeResources
Remove the resources identified by id- Parameters:
id- id of the resource to remove
-
getXmlResources
Lookup up in the resource collections map the XmlResouceCollection with the given id- Parameters:
name- The resource name- Returns:
- The xml resource collection or null if not found
-
init
Create the set of resources (defined in the idv.properties file) and do the relevant initializations.- Parameters:
rbiFiles- List of rbi files
-
getResourceList
Do a property lookup of the given resource list property. Turn the String property value (";" delimited) into a List of Strings Do a textual substitution of a set of macros with their values (e.g., %USERPATH%).- Parameters:
propName- The property name- Returns:
- List of expanded Strings
-
getResourcePaths
For each string in the given paths list do a textual substitution of a set of macros with their values (e.g., %USERPATH%).- Parameters:
paths- Incoming strings- Returns:
- Expanded strings
-
clearResourceMacros
public void clearResourceMacros()Clear the macro values -
getMacroMap
Get map of macro name -> value. eg: the SITEPATH, USERPATH, etc.- Returns:
- macros
-
getResourcePath
Do the macro expansion- Parameters:
path- Macro containing patha- Returns:
- Expanded path
-
getLocationList
Create (if null) and return the list NamedStationTable-s defined by the locationResources XmlResourceCollection.- Returns:
- List of named station tables
-
getIdvResourcePath
Return the path used to substitute the %IDVPATH% macro for in the resource list properties.- Returns:
- idv path
-
getUserHome
Return the path used to substitute the %USERHOME% macro for in the resource list properties.- Returns:
- idv path
-
getDataResourcePath
Return the path used to substitute the %DATAPATH% macro for in the resource list properties.- Returns:
- The data path
-
getAppResourcePath
Return the path used to substitute the %APPPATH% macro for in the resource list properties.- Returns:
- The app path
-
getSitePath
Return the path used to substitute the %SITEPATH% macro for in the resource list properties.- Returns:
- The site path
-
getUserPath
Return the path used to substitute the %USERPATH% macro for in the resource list properties.- Returns:
- The user path (e.g., ~/.unidata/idv/DefaultIdv)
-
removeLocalMaps
public boolean removeLocalMaps(boolean forGlobe) Remove any local maps.xml file- Parameters:
forGlobe- if true then use the globemaps resource- Returns:
- Was there one removed
-
getMapResources
_more_- Parameters:
forGlobe- _more_- Returns:
- _more_
-
getMaps
_more_- Returns:
- _more_
-
createMapInfo
A utility to instantiate a MapInfo from the maps resources- Parameters:
forGlobe- if true then use the globemaps resource- Returns:
- The MapInfo holding the map stuff.
-
writeMapState
Write out the given maps xml to the writable resource- Parameters:
mapsXml- The maps xmlforGlobe- if true then use the globemaps resource
-
getDefaultStations
Find the default NamedStationTable- Returns:
- The default stations
-
findLocationsByType
Find the NamedStationTable with the given name- Parameters:
type- type- Returns:
- The list of stations
-
findLocations
Find the NamedStationTable with the given name- Parameters:
name- Name of station- Returns:
- The station
-
getResourceUrlBase
A hardcoded url base to find resources at- Returns:
- http url resource base
-
getTransects
Get the list of transects- Returns:
- List of transects
-
writeTransects
Write the non-system transects in the list to the users transects resource file- Parameters:
t- List of transects
-
getDisplaySettings
Get all display settings- Returns:
- display settings
-
findDisplaySetting
Find display setting by name- Parameters:
name- name- Returns:
- displaysetting
-
displaySettingChanged
handle when a display setting changed- Parameters:
displaySetting- display setting that changed
-
addDisplaySetting
Add new display setting- Parameters:
displaySetting- display setting
-
removeDisplaySettings
Remove list of display settings- Parameters:
list- list
-
removeDisplaySetting
Remove display setting- Parameters:
displaySetting- display setting
-
getDisplaySettingsTimestamp
public long getDisplaySettingsTimestamp()get timestamp- Returns:
- timestamp_
-
getTranslationsHashtable
-