Properties component

Properties component displays selected XPDL element's properties.

Figure 4.11. Properties component

Properties component

By selecting an element, this component automatically displays the most relevant data about that element (such as name, id etc.).

Besides data, this component also offers a couple of operations:

Displays properties of previously selected element (that element again becomes selected).

Displays properties of element selected after this element selection (the following element again becomes selected).

Discards new values of properties (reverts to the values applied with last 'apply' action call).

Applies new values of properties.

Opens a dialog with a full set of the properties for the displayed element.

Shows parent XPDL element panel.

This component can be configured through propertiespanelcomponent.properties file.

There are properties which can be adjusted to fine-tune the basic element property panels L&F, such as alignment, TOP, BOTTOM, RIGHT, LEFT empty space in the panels, the width and height of the text boxes, etc. These are defined by the following set of the properties:

XMLBasicPanel.RightAllignment=false
XMLBasicPanel.EmptyBorder.TOP=0
XMLBasicPanel.EmptyBorder.LEFT=3
XMLBasicPanel.EmptyBorder.BOTTOM=4
XMLBasicPanel.EmptyBorder.RIGHT=3
XMLBasicPanel.SimplePanelTextWidth=250
XMLBasicPanel.SimplePanelTextHeight=20

You are able to customize so called "group" panels, used to display some complex elements, in order to hide some complex element sub-elements. For example, in order not to display Activity's Id, Deadlines, Priority and Limit, you should set the property

HideSubElements.XMLGroupPanel.Activity

to the following value:

HideSubElements.XMLGroupPanel.Activity = Id Deadlines Priority Limit

You are able to customize which elements of some collection shouldn't be displayed within so called "table" panels. For example, if you don't want to display extended attributes which name attribute is "SpecEA" or "EASpec", you can define the property:

HideElements.XMLTablePanel.ExtendedAttributes.Name = SpecEA EASpec

You are able to customize so called "table" panels, used to display some complex element collections, in order to specify which sub-elements will be shown as a table columns. For example, when displaying activities, you can specify to show Activity's Id, Name, Performer, Type, Start mode, Finish mode and Deadlines:

ShowColumns.XMLTablePanel.Activities = Id Name Performer Type StartMode FinishMode Deadlines

There is another customization possible for the so called "combo box" panel. Hence, you can define for which elements the combo box will be disabled (by default nothing is disabled). For example, if you want to disable combo boxes for displaying Activity's Performer and Transition's From and To properties, you should specify the following:

XMLComboPanel.DisableCombo = Performer From To

As with all other components, you are also able to change the content of the toolbar, and the order of toolbar buttons.