RwiElements.
Categories of files are defined in the resource.config file (this file associates a file's extension with an appropriate category, for example, .java extesion is a "source", .class is a "binary" etc.)
An icon corresponding to the type of a file or RwiElement can be obtained via
IdeResourceManager. This manager also provides a lot of useful methods for obtaining
general information such as descriptions, icons, help URLs for files and RwiElements.