Displaying File Type Icons in Process Composer

You can configure the Process Composer properties file to show file type icons in the Content page of the graphical user interface.

You must add properties to the smaSimulationCentral.properties file and supply image files for the icons you want to display. For example, you can display file type icons for Microsoft Word, Adobe PDF, plain-text files, etc. The icons will be shown next to the file titles in the Content page of the Process Composer user interface. See Displaying the Content of a Simulation Process and Displaying the Content of a Simulation Activity in the Process Composer User's Guide for information about this page of the user interface.

  1. Process Composer determines which file type icon to display based on the filename extension of each file shown in the Content page, according to the file types you configure. For each file type you want to configure, add a line like the following to the smaSimulationCentral.properties file:

    emxFramework.smallIcon.type_SimulationFileIcon.xxx = smaFileXXX.gif

    This property defines the desired file type extension and the associated image file to be displayed. smaFileXXX.gif is the name of the associated image file, which you must provide (see step 2 below). The ".xxx" at the end of the property name indicates the file type extension you want to configure, for example ".pdf". The "XXX" in the image filename indicates the type of file, for example "PDF".

    The lines below show example property settings for text, PDF, and Word file types:

    emxFramework.smallIcon.type_SimulationFileIcon.txt = smaFileText.gif
    emxFramework.smallIcon.type_SimulationFileIcon.pdf = smaFilePDF.png
    emxFramework.smallIcon.type_SimulationFileIcon.doc = smaFileWord.jpg
    emxFramework.smallIcon.type_SimulationFileIcon.docx = smaFileWord.gif

    See smaSimulationCentral.properties for the locations of the smaSimulationCentral.properties file.

  2. The icon images should be 16 x 16 pixels in size and must be in one of the following formats: .gif, .png, .jpg, or .bmp. Copy your image files into the following directory:

    collaboration_server_dir/distrib/ematrix/common/images/

If a particular file extension is not configured in the properties file, Process Composer displays the default file icon (shown in Displaying the Content of a Simulation Process of the Process Composer User's Guide).