This file defines TWE's frame organization (how will it be divided in areas), main menu, tool bar and info bar settings, and TWE's default actions and possibilities. There are a lot of parameters that define these features.
The following parameters can have either value true, or value false:
AllowInvalidPackageSaving - if set to true, saving of invalid packages (XPDL files) is allowed even if the package's Publication status property is defined as Released.
AskOnDeletion - if set to true, TWE asks for a user confirmation before deleting any element.
AskOnDeletionOfReferencedElements - if set to true, and previous property is set to false, TWE asks for a user confirmation only before deleting elements referenced by other elements.
InitialXPDLValidation - if set to true, XPDL file will be checked for errors at a time it is loaded into TWE
DesignTimeValidation - if set to true, each time after an action that changes XPDL model is performed, the XPDL will be checked for errors.
StartMaximized - if set to true, TWE is started in maximized window.
ShowTooltip - if set to true, tooltips are displayed.
The parameter UndoHistorySize should have an integer value, and it defines the number of XPDL model related actions that can be undone/redone. If this number is less than zero, TWE will be configured to have unlimited undo/redo history.
There are also other parameters that can have different string values:
Encoding - defines encoding of files saved with TWE.
For example:
Encoding = UTF-8
DoNotAskOnDeletionOfReferencedElementTypes - if the property AskOnDeletion is set to false, and the property AskOnDeletionOfReferencedElements is set to true, the value of this property defines for which referenced elements TWE won't ask for a user confirmation before deleting the element.
For example:
DoNotAskOnDeletionOfReferencedElementTypes = Activity Transition
The following parameters are defining initial TWE frame settings:
FrameSettings - this parameter defines how will the main application frame be divided. As already explained there are several application areas. Amongst others, there are areas called main, tree, special and other. The example of valid value for this paramter is:
FrameSettings = V; special H tree; main H other
which means that the frame will be first divided vertically. The left part of the frame will be divided horizontally, where special area will be in the upper and tree area in the lower part, and also the right part will be divided horizontally, where main area will be in the upper and other area in the lower part.
MainDividerLocation - this property is an integer value that defines the initial location for the main frame divider. In the example above, it is the vertical divider that divides the frame into the left and the right part.
FirstSmallDividerLocation - this property is an integer value that defines the initial location for the first sub-frame divider. In the example above, it is the horizontal divider that divides the left sub-frame into the upper part special and the lower part tree.
SecondSmallDividerLocation - this property is an integer value that defines the initial location for the second sub-frame divider. In the example above, it is the horizontal divider that divides the right sub-frame into the upper part main and the lower part other.
There are a lot of parameters that are defining toolbar and menubar content and order, ...
E.g. to change the order of menu items in the File menu, or to leave out some items, you can modify the following:
SubMenu.ActionOrder.File = NewPackage Open Reopen Close - Save SaveAs - @RecentFiles - Exit