An icon file contains an ordered set of rules that maps file types to names of bitmap files, which contain icon bitmaps.
In xclearcase, a file browser uses a series of lookups to determine how to represent a file system object:
If the file system object is selected, this process includes an extra step: xclearcase tries to match a –selected icon rule for each relevant file type before accepting a bitmap specified by –icon. For example, the following rule specifies both generic and “when selected” icons for use with elements of type text_file:
text_file : -icon text -selected text_selected;
Selecting and deselecting a text_file object from a file browser switches between the two icons.
ClearCase supports search paths both for icon files and for bitmap files:
If ICON_PATH is not set, this default search path is used:
home-directory/.icon:${ccase-home-dir: /opt/rational/clearcase}/config/ui/icon
If BITMAP_PATH is not set, this default search path is used:
home-directory/.bitmaps:${ccase-home-dir:–/opt/rational/clearcase}/config/
ui/bitmaps