-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.fxml
More file actions
67 lines (65 loc) · 3.14 KB
/
application.fxml
File metadata and controls
67 lines (65 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.canvas.Canvas?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.ScrollBar?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane fx:id="mainWindow" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.MyController">
<children>
<TabPane fx:id="tabPane" prefHeight="500.0" prefWidth="850.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="25.0">
<Tab onSelectionChanged="#tabGraphical" text="Topology View">
<content>
<ScrollPane fx:id="scrollPane" prefHeight="200.0" prefWidth="200.0">
<content>
<AnchorPane fx:id="anchorPane">
<children>
<Pane fx:id="canvas" minHeight="-Infinity" minWidth="-Infinity" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0" />
</children>
</AnchorPane>
</content>
<contextMenu>
<ContextMenu fx:id="contextMenu">
<items>
<MenuItem mnemonicParsing="false" onAction="#insertNewHub" text="Insert New Hub" />
<MenuItem mnemonicParsing="false" onAction="#insertNewVm" text="Insert New Vm" />
<MenuItem fx:id="deleteMenu" disable="true" mnemonicParsing="false" text="Delete" />
</items>
</ContextMenu>
</contextMenu>
</ScrollPane>
</content>
</Tab>
<tabs>
<Tab closable="false" onSelectionChanged="#tabEditor" text="Output">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children>
<TextArea fx:id="textEditor" cache="true" editable="false" prefHeight="345.0" prefWidth="600.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0" />
</children>
</AnchorPane>
</content>
</Tab>
</tabs>
</TabPane>
<MenuBar maxHeight="-Infinity" minHeight="-Infinity" prefHeight="25.0" prefWidth="600.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem mnemonicParsing="false" onAction="#fileNew" text="New" />
<MenuItem mnemonicParsing="false" onAction="#fileSave" text="Save" />
<MenuItem mnemonicParsing="false" onAction="#fileSaveAs" text="SaveAs" />
<MenuItem mnemonicParsing="false" onAction="#fileOpen" text="Open" />
<MenuItem mnemonicParsing="false" onAction="#fileClose" text="Close" />
</items>
</Menu>
</menus>
</MenuBar>
</children>
</AnchorPane>