Repository navigation
Expand file tree
/
Copy pathDescription.json
More file actions
95 lines (95 loc) · 2.39 KB
/
Copy pathDescription.json
File metadata and controls
95 lines (95 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"$schema": "../.hmiframework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "MyControl",
"namespace": "TcHmi.Controls.MyPackage",
"displayName": "MyControl",
"version": {
"full": "1.0.0.0",
"major": 1,
"minor": 0,
"revision": 0,
"build": 0
},
"visible": true,
"themeable": "Standard",
"base": "TcHmi.Controls.System.TcHmiControl",
"description": "This description text will be used as a Tooltip in Visual Studio.",
"properties": {
"containerControl": false,
"geometry": {
"width": 260,
"height": 168
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
}
],
"template": "Template.html",
"dependencyFiles": [
{
"name": "MyControl.js",
"type": "JavaScript",
"description": "Contains all the main logic."
},
{
"name": "Style.css",
"type": "Stylesheet",
"description": "Theme independent style"
}
],
"themes": {
"Base": {
"resources": [
{
"name": "Themes/Base/Style.css",
"type": "Stylesheet",
"description": "Theme dependent style"
}
]
},
"Base-Dark": {
"resources": [
{
"name": "Themes/Base-Dark/Style.css",
"type": "Stylesheet",
"description": "Theme dependent style"
}
]
}
},
"attributes": [
{
"name": "data-tchmi-my-attribute",
"propertyName": "MyAttribute",
"propertySetterName": "setMyAttribute",
"propertyGetterName": "getMyAttribute",
"displayName": "MyAttribute",
"visible": true,
"themeable": "Advanced",
"displayPriority": 32,
"type": "tchmi:framework#/definitions/TcHmi.Controls.MyPackage.MyControl.MyObjectType",
"category": "Common",
"description": "Object with three numbers. Each property can contain a symbol expression.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null,
"allowSymbolExpressionsInObject": true
}
],
"attributeCategories": [],
"functions": [],
"events": [],
"dataTypes": [
{
"schema": "Schema/Types.Schema.json"
}
]
}