implement parser EDCE
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package ru.trader.controllers;
|
||||
|
||||
public class RouteSearchController {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
fx:id="mainPane"
|
||||
>
|
||||
<top>
|
||||
<VBox>
|
||||
<MenuBar>
|
||||
<Menu text="%main.menu.file">
|
||||
<MenuItem text="%main.menu.file.save" onAction="#save"/>
|
||||
@@ -43,6 +44,8 @@
|
||||
<Menu fx:id="langs" text="%main.menu.settings.language"/>
|
||||
</Menu>
|
||||
</MenuBar>
|
||||
<fx:include fx:id="prof" source="profile.fxml"/>
|
||||
</VBox>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane tabClosingPolicy="UNAVAILABLE" BorderPane.alignment="CENTER">
|
||||
|
||||
40
client/src/main/resources/view/profile.fxml
Normal file
40
client/src/main/resources/view/profile.fxml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<?import ru.trader.view.support.cells.OfferListCell?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import ru.trader.view.support.NumberField?>
|
||||
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="ru.trader.controllers.ProfileController"
|
||||
spacing="4" >
|
||||
<Label text="Имя:" />
|
||||
<TextField fx:id="name" />
|
||||
<Label text="Баланс:" />
|
||||
<NumberField fx:id="balance" />
|
||||
<Label text="Система:" />
|
||||
<TextField fx:id="systemText" />
|
||||
<Button fx:id="btnAddSystem"/>
|
||||
<Label text="Станция:" />
|
||||
<ComboBox fx:id="station" />
|
||||
<Button fx:id="btnAddStation"/>
|
||||
<VBox>
|
||||
<HBox>
|
||||
<Label text="Трюм:" />
|
||||
<NumberField fx:id="cargo" />
|
||||
</HBox>
|
||||
<HBox>
|
||||
<Label text="Топливный бак:" />
|
||||
<NumberField fx:id="tank" />
|
||||
</HBox>
|
||||
<HBox>
|
||||
<Label text="Масса:" />
|
||||
<NumberField fx:id="mass" />
|
||||
</HBox>
|
||||
<HBox>
|
||||
<Label text="Двигатель:" />
|
||||
<ComboBox fx:id="engine" />
|
||||
</HBox>
|
||||
</VBox>
|
||||
</HBox>
|
||||
40
client/src/main/resources/view/routeSearch.fxml
Normal file
40
client/src/main/resources/view/routeSearch.fxml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<?import ru.trader.view.support.cells.OfferListCell?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import ru.trader.view.support.NumberField?>
|
||||
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="ru.trader.controllers.RouteSearchController"
|
||||
spacing="4" >
|
||||
<Label text="Имя:" />
|
||||
<TextField fx:id="name" />
|
||||
<Label text="Баланс:" />
|
||||
<NumberField fx:id="balance" />
|
||||
<Label text="Система:" />
|
||||
<TextField fx:id="systemText" />
|
||||
<Button fx:id="btnAddSystem"/>
|
||||
<Label text="Станция:" />
|
||||
<ComboBox fx:id="station" />
|
||||
<Button fx:id="btnAddStation"/>
|
||||
<VBox>
|
||||
<HBox>
|
||||
<Label text="Трюм:" />
|
||||
<NumberField fx:id="cargo" />
|
||||
</HBox>
|
||||
<HBox>
|
||||
<Label text="Топливный бак:" />
|
||||
<NumberField fx:id="tank" />
|
||||
</HBox>
|
||||
<HBox>
|
||||
<Label text="Масса:" />
|
||||
<NumberField fx:id="mass" />
|
||||
</HBox>
|
||||
<HBox>
|
||||
<Label text="Двигатель:" />
|
||||
<ComboBox fx:id="engine" />
|
||||
</HBox>
|
||||
</VBox>
|
||||
</HBox>
|
||||
Reference in New Issue
Block a user