Properties component displays selected XPDL element's properties.
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.
InlinePanel.ShowModifiedWarning - if set to true, and if user wants to leave the property panel (by using show previous, show next, show parent element panel actions or actions for closing the dialog) of the element for which he previously changed some properties (within the panel), the user is asked if he wants to save the changes, leave the panel without saving changes or to cancel the action.
InlinePanel.DisplayTitle - if set to true, panel will display element name beneath toolbar.
HistorySize - defines the size of the previous/next panel history. If set to the value less than zero, the history is unlimited.
Toolbar.ActionOrder.defaultToolbar - defines the content and the order of the dialog's toolbar.
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.