wizardpage.xswt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xswt xmlns:x="http://sweet_swt.sf.net/xswt">
  3. <import xmlns="http://sweet_swt.sf.net/xswt">
  4. <package name="java.lang"/>
  5. <package name="org.eclipse.swt.widgets" />
  6. <package name="org.eclipse.swt.graphics" />
  7. <package name="org.eclipse.swt.layout" />
  8. <package name="org.eclipse.swt.custom" />
  9. <package name="org.omnetpp.common.wizard.support" />
  10. <package name="org.omnetpp.ned.editor.wizards.support" />
  11. <package name="org.omnetpp.cdt.wizard.support" />
  12. </import>
  13. <layout x:class="GridLayout" numColumns="2"/>
  14. <x:children>
  15. <label x:text="Managed mobility wireless wizard." x:style="WRAP">
  16. <layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
  17. </label>
  18. <!-- Network Parameters { -->
  19. <group text="Network parameters">
  20. <layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
  21. <layout x:class="GridLayout" numColumns="2"/>
  22. <x:children>
  23. <!-- numOfHosts% -->
  24. <label text="Number of hosts:"/>
  25. <spinner x:id="numOfHosts" minimum="2" maximum="20" x:style="BORDER"/>
  26. <!-- -->
  27. <!-- } -->
  28. </x:children>
  29. </group>
  30. <group text="NED Topology Type">
  31. <layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
  32. <layout x:class="GridLayout" numColumns="2"/>
  33. <x:children>
  34. <!-- Static/Dynamic -->
  35. <composite>
  36. <layoutData x:class="GridData" horizontalSpan="2"/>
  37. <layout x:class="GridLayout"/>
  38. <x:children>
  39. <button x:id="static" text="Static" x:style="RADIO"/>
  40. <button x:id="parametric" text="Parametric" x:style="RADIO"/>
  41. </x:children>
  42. </composite>
  43. <!-- } -->
  44. </x:children>
  45. </group>
  46. <!-- Traffic Parameters { -->
  47. <group text="Traffic parameters">
  48. <layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
  49. <layout x:class="GridLayout" numColumns="2"/>
  50. <x:children>
  51. <group text="TCP traffic">
  52. <layoutData x:class="GridData" horizontalSpan="2"/>
  53. <layout x:class="GridLayout"/>
  54. <x:children>
  55. <!-- tcpTraffic? -->
  56. <button x:id="hasTcpApp" text="Data traffic (on TCP)" x:style="CHECK">
  57. <layoutData x:class="GridData" horizontalSpan="2"/>
  58. </button>
  59. </x:children>
  60. </group>
  61. <!-- serverTcpLayer: "TCP", "TCP_lwIP", "TCP_NSC" -->
  62. <label text="Server TCP layer:"/>
  63. <combo x:id="serverTcpLayer" x:style="BORDER|READ_ONLY">
  64. <add x:p0="TCP"/>
  65. <add x:p0="TCP_lwIP"/>
  66. <add x:p0="TCP_NSC"/>
  67. </combo>
  68. <!-- clientTcpLayer: "TCP", "TCP_lwIP", "TCP_NSC" -->
  69. <label text="Client TCP layer:"/>
  70. <combo x:id="clientTcpLayer" x:style="BORDER|READ_ONLY">
  71. <add x:p0="TCP"/>
  72. <add x:p0="TCP_lwIP"/>
  73. <add x:p0="TCP_NSC"/>
  74. </combo>
  75. <!-- -- -->
  76. <label x:style="SEPARATOR|HORIZONTAL">
  77. <layoutData x:class="GridData" horizontalSpan="2" horizontalAlignment="FILL" grabExcessHorizontalSpace="true"/>
  78. </label>
  79. <!-- pingTraffic? -->
  80. <button x:id="hasPingApp" text="Ping traffic" x:style="CHECK">
  81. <layoutData x:class="GridData" horizontalSpan="2"/>
  82. </button>
  83. <!-- videoStreamUdpTraffic? -->
  84. <button x:id="hasUdpApp" text="Video Stream traffic" x:style="CHECK">
  85. <layoutData x:class="GridData" horizontalSpan="2"/>
  86. </button>
  87. <!-- -->
  88. </x:children>
  89. </group>
  90. </x:children>
  91. </xswt>