/
wizardpage.xswt
107 lines (91 loc) · 3.74 KB
/
wizardpage.xswt
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
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8"?>
<xswt xmlns:x="http://sweet_swt.sf.net/xswt">
<import xmlns="http://sweet_swt.sf.net/xswt">
<package name="java.lang"/>
<package name="org.eclipse.swt.widgets" />
<package name="org.eclipse.swt.graphics" />
<package name="org.eclipse.swt.layout" />
<package name="org.eclipse.swt.custom" />
<package name="org.omnetpp.common.wizard.support" />
<package name="org.omnetpp.ned.editor.wizards.support" />
<package name="org.omnetpp.cdt.wizard.support" />
</import>
<layout x:class="GridLayout" numColumns="2"/>
<x:children>
<label x:text="Managed mobility wireless wizard." x:style="WRAP">
<layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
</label>
<!-- Network Parameters { -->
<group text="Network parameters">
<layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
<layout x:class="GridLayout" numColumns="2"/>
<x:children>
<!-- numOfHosts% -->
<label text="Number of hosts:"/>
<spinner x:id="numOfHosts" minimum="2" maximum="20" x:style="BORDER"/>
<!-- -->
<!-- } -->
</x:children>
</group>
<group text="NED Topology Type">
<layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
<layout x:class="GridLayout" numColumns="2"/>
<x:children>
<!-- Static/Dynamic -->
<composite>
<layoutData x:class="GridData" horizontalSpan="2"/>
<layout x:class="GridLayout"/>
<x:children>
<button x:id="static" text="Static" x:style="RADIO"/>
<button x:id="parametric" text="Parametric" x:style="RADIO"/>
</x:children>
</composite>
<!-- } -->
</x:children>
</group>
<!-- Traffic Parameters { -->
<group text="Traffic parameters">
<layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
<layout x:class="GridLayout" numColumns="2"/>
<x:children>
<group text="TCP traffic">
<layoutData x:class="GridData" horizontalSpan="2"/>
<layout x:class="GridLayout"/>
<x:children>
<!-- tcpTraffic? -->
<button x:id="hasTcpApp" text="Data traffic (on TCP)" x:style="CHECK">
<layoutData x:class="GridData" horizontalSpan="2"/>
</button>
</x:children>
</group>
<!-- serverTcpLayer: "TCP", "TCP_lwIP", "TCP_NSC" -->
<label text="Server TCP layer:"/>
<combo x:id="serverTcpLayer" x:style="BORDER|READ_ONLY">
<add x:p0="TCP"/>
<add x:p0="TCP_lwIP"/>
<add x:p0="TCP_NSC"/>
</combo>
<!-- clientTcpLayer: "TCP", "TCP_lwIP", "TCP_NSC" -->
<label text="Client TCP layer:"/>
<combo x:id="clientTcpLayer" x:style="BORDER|READ_ONLY">
<add x:p0="TCP"/>
<add x:p0="TCP_lwIP"/>
<add x:p0="TCP_NSC"/>
</combo>
<!-- -- -->
<label x:style="SEPARATOR|HORIZONTAL">
<layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
</label>
<!-- pingTraffic? -->
<button x:id="hasPingApp" text="Ping traffic" x:style="CHECK">
<layoutData x:class="GridData" horizontalSpan="2"/>
</button>
<!-- videoStreamUdpTraffic? -->
<button x:id="hasUdpApp" text="Video Stream traffic" x:style="CHECK">
<layoutData x:class="GridData" horizontalSpan="2"/>
</button>
<!-- -->
</x:children>
</group>
</x:children>
</xswt>