Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When using color schemes, the user still can select the default "no color scheme", which is the FEWS default. For this situation, the default custom color keys have to be defined.

Examples and configuration

See attached a configuration. An example of the black-green scheme is shown below:

Image Removed

In addition to configuring a ColorSchemes.xml, it is also possible (but not mandatory) to configure <defaultColorSchemes> in the Explorer.xml:

Code Block
languagexml
 <defaultColorSchemes>
		<defaultColorSchemeId>black-green</defaultColorSchemeId>
		<defaultColorSchemeForGroup>
			<userGroup id="SnowflakeColorSchemeId">SpecialSnowflakesUserGroup</userGroup>
			<userGroup id="PrincessColorSchemeId">PrincessesUserGroup</userGroup>
		</defaultColorSchemeForGroup>
	</defaultColorSchemes>

On start-up, the order of preference to determine which color scheme should be used is:

  1. A color scheme previously selected by the user through the explorer options (as stored in the user settings).
  2. A default color scheme defined for the user group this user belongs to.
  3. The global default color scheme (<defaultColorSchemeId>).
  4. The first custom color scheme defined in ColorSchemes.xml.
  5. (If the configuration contains no custom color schemes (no ColorSchemes.xml) the default FEWS layout and colors are used.)

For example, if a user has not previously selected a different color scheme, and does not belong to a user group for which a default is defined, but there is a global default configured, this global default will be used when the user starts FEWS.

Examples and configuration

See attached a configuration. An example of the black-green scheme is shown below:

Image Added 

FEWS defaults

The below list describes (from JAVA code) the defaults in FEWS and also which color key is used per control.

...