NewBetterCoolerWindowTest.fxml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.embed.swing.SwingNode?>
  3. <?import javafx.scene.control.Button?>
  4. <?import javafx.scene.control.ListView?>
  5. <?import javafx.scene.control.Menu?>
  6. <?import javafx.scene.control.MenuBar?>
  7. <?import javafx.scene.control.MenuItem?>
  8. <?import javafx.scene.control.ScrollPane?>
  9. <?import javafx.scene.control.SeparatorMenuItem?>
  10. <?import javafx.scene.control.SplitPane?>
  11. <?import javafx.scene.layout.AnchorPane?>
  12. <?import javafx.scene.layout.Pane?>
  13. <?import javafx.scene.layout.VBox?>
  14. <VBox minHeight="400.0" minWidth="640.0" prefHeight="400.0" prefWidth="640.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.tu_darmstadt.informatik.tk.scopviz.ui.GUIController">
  15. <children>
  16. <MenuBar VBox.vgrow="NEVER">
  17. <menus>
  18. <Menu mnemonicParsing="false" text="File">
  19. <items>
  20. <MenuItem mnemonicParsing="false" text="New" />
  21. <MenuItem mnemonicParsing="false" text="Open…" />
  22. <Menu mnemonicParsing="false" text="Open Recent" />
  23. <SeparatorMenuItem mnemonicParsing="false" />
  24. <MenuItem mnemonicParsing="false" text="Close" />
  25. <MenuItem mnemonicParsing="false" text="Save" />
  26. <MenuItem mnemonicParsing="false" text="Save As…" />
  27. <MenuItem mnemonicParsing="false" text="Revert" />
  28. <SeparatorMenuItem mnemonicParsing="false" />
  29. <MenuItem mnemonicParsing="false" text="Preferences…" />
  30. <SeparatorMenuItem mnemonicParsing="false" />
  31. <MenuItem mnemonicParsing="false" text="Quit" />
  32. </items>
  33. </Menu>
  34. <Menu mnemonicParsing="false" text="Edit">
  35. <items>
  36. <MenuItem mnemonicParsing="false" text="Undo" />
  37. <MenuItem mnemonicParsing="false" text="Redo" />
  38. <SeparatorMenuItem mnemonicParsing="false" />
  39. <MenuItem mnemonicParsing="false" text="Cut" />
  40. <MenuItem mnemonicParsing="false" text="Copy" />
  41. <MenuItem mnemonicParsing="false" text="Paste" />
  42. <MenuItem mnemonicParsing="false" text="Delete" />
  43. <SeparatorMenuItem mnemonicParsing="false" />
  44. <MenuItem mnemonicParsing="false" text="Select All" />
  45. <MenuItem mnemonicParsing="false" text="Unselect All" />
  46. </items>
  47. </Menu>
  48. <Menu mnemonicParsing="false" text="Help">
  49. <items>
  50. <MenuItem mnemonicParsing="false" text="About MyHelloApp" />
  51. </items>
  52. </Menu>
  53. </menus>
  54. </MenuBar>
  55. <AnchorPane maxHeight="-1.0" maxWidth="-1.0" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS">
  56. <children>
  57. <SplitPane dividerPositions="0.15" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  58. <items>
  59. <AnchorPane SplitPane.resizableWithParent="false">
  60. <children>
  61. <SplitPane dividerPositions="0.5" orientation="VERTICAL" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  62. <items>
  63. <AnchorPane>
  64. <children>
  65. <ListView fx:id="toolbox" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
  66. </children>
  67. </AnchorPane>
  68. <AnchorPane>
  69. <children>
  70. <ScrollPane fx:id="metricScrollPane" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
  71. <Button fx:id="createNode" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="30.0" prefWidth="120.0" text="Knoten hinzufügen" textAlignment="JUSTIFY" AnchorPane.bottomAnchor="45.0" AnchorPane.rightAnchor="0" />
  72. <Button fx:id="createEdge" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="30.0" prefWidth="120.0" text="Kante hinzufügen" textAlignment="JUSTIFY" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="0" />
  73. </children>
  74. </AnchorPane>
  75. </items>
  76. </SplitPane>
  77. </children>
  78. </AnchorPane>
  79. <AnchorPane SplitPane.resizableWithParent="false">
  80. <children>
  81. <SplitPane dividerPositions="0.8" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  82. <items>
  83. <AnchorPane SplitPane.resizableWithParent="false">
  84. <children>
  85. <Pane fx:id="pane" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  86. <children>
  87. <SwingNode fx:id="swingNode" />
  88. </children></Pane>
  89. <Button fx:id="zoomOut" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="30.0" prefWidth="30.0" text="-" textAlignment="JUSTIFY" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="10.0" />
  90. <Button fx:id="zoomIn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="30.0" prefWidth="30.0" text="+" textAlignment="JUSTIFY" AnchorPane.bottomAnchor="45.0" AnchorPane.rightAnchor="10.0" />
  91. </children>
  92. </AnchorPane>
  93. <AnchorPane SplitPane.resizableWithParent="false">
  94. <children>
  95. <SplitPane dividerPositions="0.5" orientation="VERTICAL" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  96. <items>
  97. <AnchorPane>
  98. <children>
  99. <ScrollPane fx:id="layerScrollPane" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
  100. </children>
  101. </AnchorPane>
  102. <AnchorPane>
  103. <children>
  104. <ListView fx:id="properties" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
  105. </children>
  106. </AnchorPane>
  107. </items>
  108. </SplitPane>
  109. </children>
  110. </AnchorPane>
  111. </items>
  112. </SplitPane>
  113. </children>
  114. </AnchorPane>
  115. </items>
  116. </SplitPane>
  117. </children>
  118. </AnchorPane>
  119. </children>
  120. </VBox>