Modularize all components
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import org.fxmisc.flowless.VirtualizedScrollPane?>
|
||||
<?import org.fxmisc.richtext.CodeArea?>
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.TreeView?>
|
||||
|
||||
<ScrollPane>
|
||||
<content>
|
||||
<TreeView layoutY="28.0" prefHeight="329.0" prefWidth="132.0" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
16
src/main/resources/fxml/components/Filetree.fxml
Normal file
16
src/main/resources/fxml/components/Filetree.fxml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.TreeView?>
|
||||
|
||||
<ScrollPane
|
||||
xmlns="http://javafx.com/javafx/8.0.65"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="app.controllers.FiletreeController">
|
||||
<content>
|
||||
<TreeView
|
||||
fx:id="filetree"
|
||||
prefHeight="${filetree.parent.height}"
|
||||
prefWidth="${filetree.parent.width}"/>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
29
src/main/resources/fxml/components/Menubar.fxml
Normal file
29
src/main/resources/fxml/components/Menubar.fxml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Menu?>
|
||||
<?import javafx.scene.control.MenuBar?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
|
||||
<MenuBar
|
||||
prefHeight="25.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.65"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="app.controllers.MenubarController">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Close" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Edit">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Delete" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About" />
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
12
src/main/resources/fxml/components/Modeline.fxml
Normal file
12
src/main/resources/fxml/components/Modeline.fxml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
|
||||
<HBox
|
||||
prefHeight="25.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.65"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="app.controllers.ModelineController">
|
||||
<Label text="Modeline :)"/>
|
||||
</HBox>
|
||||
Reference in New Issue
Block a user