QPR Knowledge Base

Custom Element Type Dialog

Hide Navigation Pane

Custom Element Type Dialog

Previous topic Next topic No expanding text in this topic  

Custom Element Type Dialog

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

The Custom Element Type dialog is used to view and modify the settings of custom element types.

 

General

The General tab shows the name, the symbol and the description of the custom element. These properties can be modified.

 

The symbol is a unique identifier for the custom element type. When a new custom element type is created, QPR ProcessGuide will assign it a unique symbol by getting the model object id and adding "MO" to its beginning. It is also possible to edit the symbol for the custom element type. Allowed characters are alphanumeric characters in upper case and lower case.

 

Behavior

The Behavior tab shows the predefined behavior options for the element and all custom element hierarchies in the model.

 

You can select the desired behavior options for the custom element by clicking a checkbox next to the behavior option. The behavior options are:

Allow scorecard linking: QPR ScoreCard measures can be linked to the custom element.
Allow information item linking: information items can be linked to the custom element.
Allow note linking: notes can be linked to the custom element.
Allow resource linking: resources can be linked to the custom element.
Allow element creation on flow chart: the custom element can be drawn on the flow chart, selecting this option will also enable content in the Symbol tab in the dialog and the "Allow instancing", "Allow elements with no instances", "Allow flow linking", and "Interface element" options.
Allow instancing: multiple instances of the custom element can be created.
Check for duplicates when instantiating: when this selection is enabled, creating instances of custom elements of this type can be done by selecting the name of an existing custom element from the drop-down menu displayed on a newly created element.
Allow elements with no instances: if this option is not selected, the custom element is deleted from the model when its last instance is deleted from the flow chart. When selected, the custom element remains in the model even if it has no instances on the flow chart.
Allow flow linking: flows can be connected to the custom element.
Allow attached elements: you can attach any element to the boundary of the element in the flow chart so that they together form a group. (See the attached elements section for more information.)
Allow attaching to elements: the element can be attached to any element so that they together form a group. (See the attached elements section for more information.)
Interface element: the custom element can be a Process Interface Element.

 

 

Element hierarchies

The element hierarchies can be used, for example, to model the structure of the process. The "Custom hierarchies" list shows all the custom element hierarchies in the model. The list is used to define element hierarchy behavior for the custom element type. The list contains four parts:

Checkbox: selecting a checkbox will make the custom element type a part of the hierarchy in question.
Hierarchy: this column lists the names of the element hierarchies in the model.
Part of branch: the drop down boxes in this column define if the custom element can be a part of a single branch (i.e. the custom element can have only one parent element) or multiple branches (i.e. the custom element can have multiple parent elements).
Node type: defining the node type as a "leaf node" prevents the custom elements of this type from having child elements, whereas defining the node type as "any node" allows the custom elements of this type to have child elements.

 

To create a new element hierarchy, click the New button. To view and modify the properties of an existing hierarchy, click the View button. Clicking the Set as Default button will set the selected hierarchy as the default hierarchy for the custom element type. If a hierarchy has been set as a default hierarchy, that hierarchy is shown in the selection dialogs for the custom element type. If a default hierarchy has not been set, the custom elements are shown as a list in the selection dialogs. Clicking the Clear Default button will clear the default setting.

 

 

Modeling

The selections on the Modeling tab are used to define quick modeling settings:

Default connector type: defines which connector type is used when a new element of this type is created using quick modeling.
Horizontal offset: defines the horizontal distance of the created element from the selected element in pixels. Allowed values are 10 to 1000. If the grid is enabled, the offset is rounded up to the next grid size.
Vertical offset: defines the vertical distance of the created element from the selected element in pixels. Allowed values are 10 to 1000. If the grid is enabled, the offset is rounded up to the next grid size.

 

 

Symbol

The custom element has a symbol which is used in the flow charts. On the Symbol tab, the following graphical properties can be set:

Show or hide the Name, the Description, or any custom attribute types that have been defined for the custom element type in the Custom Attribute Types tab.
Properties of the text box for any of the attributes shown
Symbol size (width and height in pixels)
Color of the edge and the background

 

To select the symbol, click the Shape button and select a shape from the drop-down menu or click the Load... button to load a customized image to be associated with the custom element. Valid file formats are Bitmap (.bmp) and Windows Metafile (.wmf).

 

In addition, the custom element has an icon that is used in the Navigator View Hierarchies and Portal views. To select the icon, click the btn_select_icon button in the Icon for Hierarchies and Buttons group and choose an icon from the pop-up menu. You can also select a custom image by clicking Browse and choosing the image from your hard drive.

 

 

Custom Attribute Types

Custom attribute types can also be defined for the custom element type. On the Custom Attribute Types tab of this dialog, you can add custom attribute types by clicking the "Add" button and remove custom attribute types with the "Remove" button. You can also edit the custom attribute types. To change the order of the custom attribute types, use the upward and downward arrow buttons on the right side of the dialog. You can edit the name of the custom attribute type by typing it into the Name column. The cardinality can also be changed by clicking on the cardinality value and then selecting a new value from the drop-down list (either 1 or N). If you select 1, only one value can be defined for that attribute. If you select N, several values can be defined.

 

 

Note: If you delete a custom element type from a base model, you have to select a replacement for it.

 

 

Comments (...)