wizardpage.xswt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="Ad hoc 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="100" 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. </x:children>
  47. </xswt>