Archived
0

implement parser EDCE

This commit is contained in:
iMoHax
2015-08-07 15:28:05 +03:00
parent 4c593eb1f0
commit 0a4b301fdb
21 changed files with 859 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
package ru.trader.controllers;
public class RouteSearchController {
}

View File

@@ -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">

View 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>

View 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>