/branches/branch-1.0/src/xml/lukeinit.xml

http://luke.googlecode.com/ · XML · 39 lines · 39 code · 0 blank · 0 comment · 0 complexity · 58669e1344b8ba6ce01702701fa5adea MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <dialog name="lukeinit" columns="1" modal="true" gap="8" top="3" bottom="3"
  3. left="3" right="3" text="Path to Index directory:" icon="/img/luke.gif"
  4. close="remove(lukeinit)" resizable="true" init="setupInit(lukeinit)">
  5. <panel gap="4" columns="3">
  6. <label text="Path:"/>
  7. <combobox name="path" columns="70" editable="true" perform="openOk(lukeinit)"/>
  8. <button text="Browse..." action="openBrowse(path)"/>
  9. <label text=""/>
  10. <label font="10" text="Hint: Luke can open multiple indexes in subdirectories."/>
  11. </panel>
  12. <checkbox name="ro" text="Open in Read-Only mode"/>
  13. <checkbox name="force" text="Force unlock, if locked"/>
  14. <separator/>
  15. <label text="Expert options:"/>
  16. <panel gap="6" columns="1" bottom="2" left="10" right="2">
  17. <panel gap="2" halign="fill" weightx="1">
  18. <label font="10" text="Directory (one of predefined, or full class name):"/>
  19. <combobox name="dirImpl" weightx="1" halign="fill" font="10" editable="true" text="FSDirectory">
  20. <choice font="10" name="fs" text="FSDirectory"/>
  21. <choice font="10" name="mmap" text="MMapDirectory"/>
  22. <choice font="10" name="niofs" text="NIOFSDirectory"/>
  23. </combobox>
  24. </panel>
  25. <checkbox name="ram" font="10" text="Load into RAMDirectory"/>
  26. <checkbox font="10" name="cbKeepCommits" text="Keep all commit points" selected="true"/>
  27. <checkbox font="10" name="cbNoReader" text="Don't open IndexReader (when opening corrupted index)"/>
  28. <checkbox font="10" name="cbSlowIO" text="Slow IO - avoid and track expensive IO operations"/>
  29. <panel gap="2">
  30. <label font="10" text="Custom TermInfos divisor:"/>
  31. <textfield font="10" columns="4" name="tiiDiv" text="1"/>
  32. </panel>
  33. </panel>
  34. <separator/>
  35. <panel weightx="1" halign="right" gap="8" top="3" right="3" bottom="2">
  36. <button text="OK" action="openOk(lukeinit)"/>
  37. <button text="Cancel" action="remove(lukeinit)"/>
  38. </panel>
  39. </dialog>