-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (80 loc) · 2.63 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>DBus Blocks</title>
<script type="text/javascript" src="libs/blockly_compressed.js" ></script>
<script type="text/javascript" src="libs/en.js" ></script>
<script type="text/javascript" src="dbus_block_definitions.js" ></script>
<style type="text/css" >
html, body {
height: 99%;
width: 99%;
}
#output {
font-family: monospace;
font-size: 10pt;
color: black;
}
</style>
</head>
<body>
<div id="blockly-area" style="height:90%; width: 90%; min-height: 90%;" >
<div id="blockly-workspace" style="position:absolute;" ></div>
</div>
<div id="controls">
<button type="button" id="generate-button" onclick="generate_introspection();" >Generate Introspection XML</button>
</div>
<xml xmlns="https://developers.google.com/blockly/xml" id="toolbox" style="display: none">
<category name="Definitions" colour="#5b67a5">
<block type="node_definition">
<field name="node_path">/com/example/MyNode</field>
</block>
<block type="interface_definition">
<field name="interfaceName">com.example.interface.MyInterface</field>
</block>
<block type="method_definition">
<field name="method_name">exampleMethod</field>
</block>
<block type="property_definition">
<field name="property_name">exampleProperty</field>
</block>
<block type="signal_definition">
<field name="signal_name">ExampleSignal</field>
</block>
<block type="named_arg">
<field name="arg_name">argName</field>
</block>
</category>
<category name="Basic Types" colour="#5ba55b">
<block type="named_arg">
<field name="arg_name">argName</field>
</block>
<block type="string_type"></block>
<block type="byte_type"></block>
<block type="boolean_type"></block>
<block type="double_type"></block>
<block type="uint16_type"></block>
<block type="int16_type"></block>
<block type="uint32_type"></block>
<block type="int32_type"></block>
<block type="uint64_type"></block>
<block type="int64_type"></block>
<block type="object_path_type"></block>
<block type="unix_fd_type"></block>
</category>
<category name="Container Types" colour="#a5745b">
<block type="named_arg">
<field name="arg_name">argName</field>
</block>
<block type="array_type_container"></block>
<block type="struct_type"></block>
<block type="struct_member"></block>
<block type="dictionary_type"></block>
<block type="variant_type"></block>
</category>
</xml>
<script type="text/javascript" src="dbus_blocks_workspace.js" ></script>
<script type="text/javascript" src="dbus_generator_stubs.js" ></script>
</body>
</html>