Chapter 8. Configuration

Table of Contents

Property file togwebasic.properties
Property file componentmanager.properties
Property file togwecontroller.properties
Property file jawetypes.properties
Property file togweeditor.properties
Property file transitionhandler.properties
Property file xpdlvalidator.properties

TWE is very configurable in a sense that there are many options that can be changed through TWE's property files.

Almost every component (graph, xpdl view, package tree, ...) has its own property file, but there are also some property files for the TWE's core system components.

The relevant property files of the core system components are:

  1. togwebasic.properties

  2. componentmanager.properties

  3. togwecontroller.properties

  4. jawetypes.properties

  5. togweeditor.properties

  6. transitionhandler.properties

  7. xpdlvalidator.properties

Other property files are component specific settings, and these files are:

The most important of these additional files is probably togwegraphcontroller.properties file. There are settings for graph which is, of course, the most important component.

The properties of non-core components are already explained in a sections explaining components itself, so further text will be related only to configuration of core system components.

NOTE: Most of the settings start with #. This means that they are put under comment and that default settings will be used. In order to change settings, remove # and change settings value

Property file togwebasic.properties

This property file contains some basic TWE settings like:

  • Font.Size and Font.Name are used for font settings (default font is Sans Serif, size 11).

  • StartingLocale sets local settings to be used. Language depends on this settings. The default value is "default", and it uses English language. If you leave this property empty, your system settings will be used, which means if there is a language property file for your system settings, it will be used.

  • LookAndFeelClassName sets UI manager. Default value for this setting is empty, which means that native UI manager will be used. The possible values for this setting could e.g. be javax.swing.plaf.metal.MetalLookAndFeel, com.sun.java.swing.plaf.motif.MotifLookAndFeel, ...

  • UseXPDLPrefix determines whether to use xpdl name space prefix when saving XPDL file. Default value for this property is "tue".

  • DefaultTransientPackages contains a list of the absolute paths to XPDL files which will be loaded into TWE as the 'Transient' ones. By default, no transient packages are loaded.

  • FileLocking - if set to true, TWE will lock open XPDL files. Main XPDL file will be exclusively locked, and external package's XPDL files will have a shared lock