|
5 | 5 | * The software may be used and/or copied only with the written permission of
|
6 | 6 | * IntegrIT S.A. or in accordance with the terms and conditions stipulated in
|
7 | 7 | * the agreement/contract under which the software has been supplied.
|
| 8 | +In order to define custom properties for any object's properties pane, you may copy/paste from the following, |
| 9 | +making sure that you maintain a proper JSON format. |
| 10 | + |
| 11 | + { |
| 12 | + "propertyName": "Simple text", |
| 13 | + "propertyKeyword": "simpletextProp", |
| 14 | + "propertyType": "text", |
| 15 | + "sampleGen": "&containerName|&entityName|&random|<value>" |
| 16 | + }, |
| 17 | + { |
| 18 | + "propertyName": "Text area", |
| 19 | + "propertyKeyword": "textareaProp", |
| 20 | + "propertyTooltip": "Popup for multi-line text entry", |
| 21 | + "propertyType": "details", |
| 22 | + "template": "textarea" |
| 23 | + }, |
| 24 | + { |
| 25 | + "propertyName": "Dropdown selection", |
| 26 | + "propertyKeyword": "dropdownProp", |
| 27 | + "propertyTooltip": "Select from list of options", |
| 28 | + "propertyType": "select", |
| 29 | + "options": [ |
| 30 | + "Option 1", |
| 31 | + "Option 2", |
| 32 | + "Option 3", |
| 33 | + "Option 4" |
| 34 | + ] |
| 35 | + }, |
| 36 | + { |
| 37 | + "propertyName": "Numeric", |
| 38 | + "propertyKeyword": "numericProp", |
| 39 | + "propertyValidate": true, |
| 40 | + "propertyType": "numeric", |
| 41 | + "valueType": "number", |
| 42 | + "allowNegative": false, |
| 43 | + "sampleGen": "&containerName|&entityName|&random|<value>" |
| 44 | + }, |
| 45 | + { |
| 46 | + "propertyName": "Checkbox", |
| 47 | + "propertyKeyword": "checkboxProp", |
| 48 | + "propertyType": "checkbox" |
| 49 | + }, |
| 50 | + { |
| 51 | + "propertyName": "Group", |
| 52 | + "propertyType": "group", |
| 53 | + "propertyKeyword": "grpProp", |
| 54 | + "propertyTooltip": "", |
| 55 | + "structure": [ |
| 56 | + { |
| 57 | + "propertyName": "Simple Grp Text", |
| 58 | + "propertyKeyword": "simpleGrpText", |
| 59 | + "propertyTooltip": "", |
| 60 | + "propertyType": "text" |
| 61 | + }, |
| 62 | + { |
| 63 | + "propertyName": "Group Number", |
| 64 | + "propertyKeyword": "grpNumber", |
| 65 | + "propertyType": "numeric", |
| 66 | + "valueType": "number", |
| 67 | + "allowNegative": false |
| 68 | + } |
| 69 | + ] |
| 70 | + }, |
| 71 | +// “groupInput” can have the following states - 0 items, 1 item, and many items. |
| 72 | +// “blockInput” has only 2 states - 0 items or 1 item. |
| 73 | +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
| 74 | +// and forward-engineering in particular. |
| 75 | + { |
| 76 | + "propertyName": "Block", |
| 77 | + "propertyType": "block", |
| 78 | + "propertyKeyword": "grpProp", |
| 79 | + "propertyTooltip": "", |
| 80 | + "structure": [ |
| 81 | + { |
| 82 | + "propertyName": "Simple Grp Text", |
| 83 | + "propertyKeyword": "simpleGrpText", |
| 84 | + "propertyTooltip": "", |
| 85 | + "propertyType": "text" |
| 86 | + }, |
| 87 | + { |
| 88 | + "propertyName": "Group Number", |
| 89 | + "propertyKeyword": "grpNumber", |
| 90 | + "propertyType": "numeric", |
| 91 | + "valueType": "number", |
| 92 | + "allowNegative": false |
| 93 | + } |
| 94 | + ] |
| 95 | + }, |
| 96 | + { |
| 97 | + "propertyName": "Field List", |
| 98 | + "propertyKeyword": "keyList", |
| 99 | + "propertyType": "fieldList", |
| 100 | + "template": "orderedList" |
| 101 | + }, |
| 102 | + { |
| 103 | + "propertyName": "List with attribute", |
| 104 | + "propertyKeyword": "keyListOrder", |
| 105 | + "propertyType": "fieldList", |
| 106 | + "template": "orderedList", |
| 107 | + "attributeList": [ |
| 108 | + "ascending", |
| 109 | + "descending" |
| 110 | + ] |
| 111 | + } |
| 112 | + |
8 | 113 | */
|
9 | 114 |
|
10 | 115 | [
|
11 | 116 | {
|
12 | 117 | "lowerTab": "Details",
|
13 | 118 | "structure": [
|
| 119 | + { |
| 120 | + "propertyName": "Comments", |
| 121 | + "propertyKeyword": "description", |
| 122 | + "propertyTooltip": "comments", |
| 123 | + "propertyType": "details", |
| 124 | + "addTimestampButton": false, |
| 125 | + "template": "textarea" |
| 126 | + }, |
14 | 127 | {
|
15 | 128 | "propertyName": "View Attribute",
|
16 | 129 | "propertyKeyword": "viewAttrbute",
|
|
33 | 146 | {
|
34 | 147 | "propertyName": "Partitioned",
|
35 | 148 | "propertyKeyword": "partitioned",
|
36 |
| - "shouldValidate": false, |
37 | 149 | "propertyTooltip": "",
|
38 | 150 | "propertyType": "checkbox"
|
39 | 151 | },
|
40 | 152 | {
|
41 | 153 | "propertyName": "Partitioned tables",
|
42 | 154 | "propertyKeyword": "partitionedTables",
|
43 |
| - "shouldValidate": false, |
44 | 155 | "propertyTooltip": "",
|
45 | 156 | "propertyType": "group",
|
46 | 157 | "dependency": {
|
|
50 | 161 | "structure": [{
|
51 | 162 | "propertyName": "Table",
|
52 | 163 | "propertyKeyword": "table",
|
53 |
| - "shouldValidate": false, |
54 | 164 | "propertyTooltip": "",
|
55 | 165 | "propertyType": "selecthashed",
|
56 | 166 | "template": "entities",
|
|
60 | 170 | {
|
61 | 171 | "propertyName": "With Check Option",
|
62 | 172 | "propertyKeyword": "withCheckOption",
|
63 |
| - "shouldValidate": false, |
64 | 173 | "propertyTooltip": "",
|
65 | 174 | "propertyType": "checkbox"
|
66 | 175 | },
|
67 |
| - { |
68 |
| - "propertyName": "Comments", |
69 |
| - "propertyKeyword": "description", |
70 |
| - "shouldValidate": false, |
71 |
| - "propertyTooltip": "comments", |
72 |
| - "propertyType": "details", |
73 |
| - "template": "textarea" |
74 |
| - }, |
75 | 176 | {
|
76 | 177 | "propertyName": "Remarks",
|
77 | 178 | "propertyKeyword": "comments",
|
78 |
| - "shouldValidate": false, |
79 | 179 | "propertyTooltip": "remarks",
|
80 | 180 | "propertyType": "details",
|
| 181 | + "addTimestampButton": true, |
| 182 | + "markdown": true, |
81 | 183 | "template": "textarea"
|
82 | 184 | },
|
83 | 185 | {
|
|
0 commit comments