|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
| 3 | +<!--suppress ALL --> |
| 4 | + |
3 | 5 | <?import java.lang.*?>
|
4 | 6 | <?import javafx.scene.*?>
|
5 | 7 | <?import javafx.scene.control.*?>
|
6 |
| -<?import javafx.scene.layout.*?> |
7 | 8 | <?import javafx.scene.Group?>
|
8 |
| -<?import javafx.scene.control.Button?> |
9 |
| -<?import javafx.scene.control.Menu?> |
10 |
| -<?import javafx.scene.control.MenuBar?> |
11 |
| -<?import javafx.scene.control.MenuItem?> |
12 |
| -<?import javafx.scene.control.ProgressBar?> |
13 |
| -<?import javafx.scene.control.RadioMenuItem?> |
14 |
| -<?import javafx.scene.control.SeparatorMenuItem?> |
15 |
| -<?import javafx.scene.control.SplitPane?> |
16 |
| -<?import javafx.scene.control.Tab?> |
17 |
| -<?import javafx.scene.control.TabPane?> |
18 |
| -<?import javafx.scene.control.TextField?> |
19 |
| -<?import javafx.scene.layout.AnchorPane?> |
20 |
| -<?import javafx.scene.layout.VBox?> |
21 |
| - |
22 |
| -<!--suppress ALL --> |
| 9 | +<?import javafx.scene.layout.*?> |
23 | 10 |
|
24 |
| -<AnchorPane prefHeight="500.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.40" xmlns:fx="http://javafx.com/fxml/1" fx:controller="programminglife.gui.controller.GuiController"> |
25 |
| - <MenuBar AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
26 |
| - <Menu fx:id="menuFile" mnemonicParsing="false" text="File"> |
27 |
| - <MenuItem fx:id="btnOpenGFA" mnemonicParsing="false" text="Open GFA" /> |
28 |
| - <MenuItem fx:id="btnOpenGFF" mnemonicParsing="false" text="Open GFF" /> |
29 |
| - <Menu fx:id="menuRecent" mnemonicParsing="false" text="Open Recent GFA" /> |
30 |
| - <SeparatorMenuItem mnemonicParsing="false" /> |
31 |
| - <RadioMenuItem fx:id="btnToggle" mnemonicParsing="false" text="Toggle Console" /> |
32 |
| - <MenuItem fx:id="btnQuit" mnemonicParsing="false" text="Quit" /> |
33 |
| - </Menu> |
34 |
| - <Menu fx:id="menuHelp" mnemonicParsing="false" text="Help"> |
35 |
| - <MenuItem fx:id="btnAbout" mnemonicParsing="false" text="About" /> |
36 |
| - <MenuItem fx:id="btnInstructions" mnemonicParsing="false" text="Instructions" /> |
37 |
| - </Menu> |
38 |
| - <Menu fx:id="menuBookmark" mnemonicParsing="false" text="Bookmarks"> |
39 |
| - <MenuItem fx:id="btnBookmarks" mnemonicParsing="false" text="Bookmarks" /> |
40 |
| - </Menu> |
41 |
| - </MenuBar> |
42 |
| - <SplitPane dividerPositions="0.14, 1.0" layoutY="29.0" prefHeight="200.0" prefWidth="500.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="29.0"> |
43 |
| - <AnchorPane fx:id="anchorLeftControlPanel" maxWidth="140.0" minHeight="0.0" minWidth="140.0" prefHeight="800.0" prefWidth="100.0" SplitPane.resizableWithParent="false"> |
44 |
| - <Button fx:id="btnZoomReset" layoutX="12.0" layoutY="20.0" minWidth="100.0" mnemonicParsing="false" text="Reset Zoom" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
45 |
| - <Button fx:id="btnTranslateReset" layoutX="12.0" layoutY="50.0" minWidth="100.0" mnemonicParsing="false" text="Reset X/Y" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
46 |
| - <TextField text="Center Node:" layoutX="20.0" layoutY="85.0" editable="false" style="-fx-text-box-border: transparent;-fx-background-color: none; -fx-background-insets: 0; -fx-padding: 1 3 1 3; -fx-focus-color: transparent; -fx-faint-focus-color: transparent;"/> |
47 |
| - <TextField fx:id="txtCenterNode" layoutX="20.0" layoutY="100.0" minWidth="100.0" promptText="Origin node" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
48 |
| - <TextField text="Radius:" layoutX="20.0" layoutY="130.0" editable="false" style="-fx-text-box-border: transparent;-fx-background-color: none; -fx-background-insets: 0; -fx-padding: 1 3 1 3; -fx-focus-color: transparent; -fx-faint-focus-color: transparent;"/> |
49 |
| - <TextField fx:id="txtMaxDrawDepth" layoutX="20.0" layoutY="145.0" minWidth="100.0" promptText="Max depth" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
50 |
| - <Button fx:id="btnDraw" layoutX="27.0" layoutY="180.0" minWidth="100.0" mnemonicParsing="false" text="Draw" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
51 |
| - <Button fx:id="btnDrawRandom" layoutX="20.0" layoutY="210.0" minWidth="100.0" mnemonicParsing="false" text="Surprise me!" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
52 |
| - <Button fx:id="btnBookmark" layoutX="20.0" layoutY="240.0" minWidth="100.0" mnemonicParsing="false" text="Bookmark" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
53 |
| - </AnchorPane> |
54 |
| - <AnchorPane fx:id="anchorGraphPanel" minHeight="200" minWidth="200" prefHeight="Infinity" prefWidth="Infinity"> |
55 |
| - <Group fx:id="grpDrawArea" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> |
56 |
| - <ProgressBar fx:id="progressBar" minHeight="18.0" minWidth="100.0" progress="0.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" /> |
57 |
| - </AnchorPane> |
58 |
| - <AnchorPane maxWidth="500.0" minWidth="140.0" prefHeight="800.0" prefWidth="Infinity"> |
59 |
| - <TabPane maxWidth="500.0" tabClosingPolicy="UNAVAILABLE" tabMaxHeight="100.0" tabMaxWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
60 |
| - <Tab text="Graph Info"> |
61 |
| - <AnchorPane fx:id="anchorGraphInfo" minWidth="50.0"> |
62 |
| - <Button fx:id="btnClipboard" layoutX="15.0" layoutY="15.0" mnemonicParsing="false" text="Copy to clipboard" /> |
63 |
| - <Button fx:id="btnClipboard2" layoutX="255.0" layoutY="15.0" mnemonicParsing="false" text="Copy to clipboard" /> |
64 |
| - </AnchorPane> |
65 |
| - </Tab> |
66 |
| - <Tab fx:id="searchTab" text="Search / Highlight" /> |
67 |
| - </TabPane> |
68 |
| - </AnchorPane> |
69 |
| - </SplitPane> |
| 11 | +<?import javafx.scene.canvas.Canvas?> |
| 12 | +<AnchorPane prefHeight="500.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="programminglife.gui.controller.GuiController"> |
| 13 | + <children> |
| 14 | + <MenuBar AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 15 | + <menus> |
| 16 | + <Menu fx:id="menuFile" mnemonicParsing="false" text="File"> |
| 17 | + <items> |
| 18 | + <MenuItem fx:id="btnOpenGFA" mnemonicParsing="false" text="Open GFA" /> |
| 19 | + <MenuItem fx:id="btnOpenGFF" mnemonicParsing="false" text="Open GFF" /> |
| 20 | + <Menu fx:id="menuRecent" mnemonicParsing="false" text="Open Recent GFA" /> |
| 21 | + <SeparatorMenuItem mnemonicParsing="false" /> |
| 22 | + <RadioMenuItem fx:id="btnToggle" mnemonicParsing="false" text="Toggle Console" /> |
| 23 | + <RadioMenuItem fx:id="btnMiniMap" mnemonicParsing="false" text="Toggle MiniMap" /> |
| 24 | + <MenuItem fx:id="btnQuit" mnemonicParsing="false" text="Quit" /> |
| 25 | + </items> |
| 26 | + </Menu> |
| 27 | + <Menu fx:id="menuHelp" mnemonicParsing="false" text="Help"> |
| 28 | + <items> |
| 29 | + <MenuItem fx:id="btnAbout" mnemonicParsing="false" text="About" /> |
| 30 | + <MenuItem fx:id="btnInstructions" mnemonicParsing="false" text="Instructions" /> |
| 31 | + </items> |
| 32 | + </Menu> |
| 33 | + <Menu fx:id="menuBookmark" mnemonicParsing="false" text="Bookmarks"> |
| 34 | + <items> |
| 35 | + <MenuItem fx:id="btnBookmarks" mnemonicParsing="false" text="Bookmarks" /> |
| 36 | + </items> |
| 37 | + </Menu> |
| 38 | + </menus> |
| 39 | + </MenuBar> |
| 40 | + <SplitPane dividerPositions="0.14, 1.0" layoutY="29.0" prefHeight="200.0" prefWidth="500.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="29.0"> |
| 41 | + <items> |
| 42 | + <AnchorPane fx:id="anchorLeftControlPanel" maxWidth="140.0" minHeight="0.0" minWidth="140.0" prefHeight="800.0" prefWidth="100.0" SplitPane.resizableWithParent="false"> |
| 43 | + <children> |
| 44 | + <Button fx:id="btnZoomReset" layoutX="12.0" layoutY="20.0" minWidth="100.0" mnemonicParsing="false" text="Reset Zoom" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 45 | + <Button fx:id="btnTranslateReset" layoutX="12.0" layoutY="50.0" minWidth="100.0" mnemonicParsing="false" text="Reset X/Y" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 46 | + <TextField editable="false" layoutX="20.0" layoutY="85.0" style="-fx-text-box-border: transparent;-fx-background-color: none; -fx-background-insets: 0; -fx-padding: 1 3 1 3; -fx-focus-color: transparent; -fx-faint-focus-color: transparent;" text="Center Node:" /> |
| 47 | + <TextField fx:id="txtCenterNode" layoutX="20.0" layoutY="100.0" minWidth="100.0" promptText="Origin node" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 48 | + <TextField editable="false" layoutX="20.0" layoutY="130.0" style="-fx-text-box-border: transparent;-fx-background-color: none; -fx-background-insets: 0; -fx-padding: 1 3 1 3; -fx-focus-color: transparent; -fx-faint-focus-color: transparent;" text="Radius:" /> |
| 49 | + <TextField fx:id="txtMaxDrawDepth" layoutX="20.0" layoutY="145.0" minWidth="100.0" promptText="Max depth" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 50 | + <Button fx:id="btnDraw" layoutX="27.0" layoutY="180.0" minWidth="100.0" mnemonicParsing="false" text="Draw" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 51 | + <Button fx:id="btnDrawRandom" layoutX="20.0" layoutY="210.0" minWidth="100.0" mnemonicParsing="false" text="Surprise me!" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 52 | + <Button fx:id="btnBookmark" layoutX="20.0" layoutY="240.0" minWidth="100.0" mnemonicParsing="false" text="Bookmark" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 53 | + </children> |
| 54 | + </AnchorPane> |
| 55 | + <AnchorPane fx:id="anchorGraphPanel" minHeight="200" minWidth="200" prefHeight="Infinity" prefWidth="Infinity"> |
| 56 | + <children> |
| 57 | + <Canvas fx:id="miniMap" height="100" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" /> |
| 58 | + <Group fx:id="grpDrawArea" AnchorPane.bottomAnchor="100.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> |
| 59 | + <ProgressBar fx:id="progressBar" minHeight="18.0" minWidth="100.0" progress="0.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" /> |
| 60 | + </children> |
| 61 | + </AnchorPane> |
| 62 | + <AnchorPane maxWidth="500.0" minWidth="140.0" prefHeight="800.0" prefWidth="Infinity"> |
| 63 | + <children> |
| 64 | + <TabPane maxWidth="500.0" tabClosingPolicy="UNAVAILABLE" tabMaxHeight="100.0" tabMaxWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 65 | + <tabs> |
| 66 | + <Tab text="Graph Info"> |
| 67 | + <content> |
| 68 | + <AnchorPane fx:id="anchorGraphInfo" minWidth="50.0"> |
| 69 | + <children> |
| 70 | + <Button fx:id="btnClipboard" layoutX="15.0" layoutY="15.0" mnemonicParsing="false" text="Copy to clipboard" /> |
| 71 | + <Button fx:id="btnClipboard2" layoutX="255.0" layoutY="15.0" mnemonicParsing="false" text="Copy to clipboard" /> |
| 72 | + </children> |
| 73 | + </AnchorPane> |
| 74 | + </content> |
| 75 | + </Tab> |
| 76 | + <Tab fx:id="searchTab" text="Search / Highlight" /> |
| 77 | + </tabs> |
| 78 | + </TabPane> |
| 79 | + </children> |
| 80 | + </AnchorPane> |
| 81 | + </items> |
| 82 | + </SplitPane> |
| 83 | + </children> |
70 | 84 | </AnchorPane>
|
0 commit comments