68 lines
3.1 KiB
XML
68 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
<?import org.controlsfx.glyphfont.Glyph?>
|
|
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
|
fx:controller="ru.trader.controllers.RouteTrackController"
|
|
spacing="4" >
|
|
<VBox>
|
|
<ToggleButton minWidth="30" onAction="#toggleEdit">
|
|
<graphic><Glyph text="FontAwesome|EDIT"/></graphic>
|
|
</ToggleButton>
|
|
<StackPane>
|
|
<VBox fx:id="editGroup">
|
|
<fx:include fx:id="missions" source="missions.fxml"/>
|
|
<HBox>
|
|
<ListView fx:id="addMissionsList" maxHeight="150"/>
|
|
<VBox spacing="4" alignment="TOP_RIGHT">
|
|
<Button prefWidth="30" onAction="#addMission"><graphic><Glyph text="FontAwesome|PLUS"/></graphic></Button>
|
|
<Button prefWidth="30" onAction="#removeMission"><graphic><Glyph text="FontAwesome|MINUS"/></graphic></Button>
|
|
<Button prefWidth="30" onAction="#clearMissions"><graphic><Glyph text="FontAwesome|TRASH"/></graphic></Button>
|
|
</VBox>
|
|
<VBox>
|
|
<Button prefWidth="80" text="Добавить" onAction="#addMissionsToTrack" />
|
|
<Button prefWidth="80" text="Добавить все" onAction="#addAllMissionsToTrack" />
|
|
</VBox>
|
|
</HBox>
|
|
</VBox>
|
|
<VBox fx:id="infoGroup">
|
|
<HBox><Label text="Система:" /><Label fx:id="system" /></HBox>
|
|
<HBox><Label text="Станция:" /><Label fx:id="station" /></HBox>
|
|
<HBox><Label text="Время:" /><Label fx:id="time" /></HBox>
|
|
<HBox fx:id="refuelGroup"><Label text="Заправить:" /><Label fx:id="refuel" /></HBox>
|
|
<HBox fx:id="ordersGroup" maxHeight="120">
|
|
<VBox>
|
|
<Label text="Продать:" />
|
|
<ListView fx:id="sellOrders"/>
|
|
</VBox>
|
|
<VBox>
|
|
<Label text="Купить:" />
|
|
<ListView fx:id="buyOrders"/>
|
|
</VBox>
|
|
</HBox>
|
|
<VBox fx:id="missionsGroup" maxHeight="120">
|
|
<Label text="Сдать миссии:" />
|
|
<ListView fx:id="missionsList" maxHeight="150"/>
|
|
</VBox>
|
|
</VBox>
|
|
</StackPane>
|
|
</VBox>
|
|
<ScrollPane minWidth="220" fitToHeight="true">
|
|
<VBox>
|
|
<AnchorPane fx:id="track"/>
|
|
<VBox>
|
|
<HBox><TextField fx:id="newEntrySystemText"/></HBox>
|
|
<HBox><ComboBox fx:id="newEntryStation"/></HBox>
|
|
<HBox>
|
|
<Button onAction="#addEntry"><graphic><Glyph text="FontAwesome|PLUS"/></graphic></Button>
|
|
<Button onAction="#setActive"><graphic><Glyph text="FontAwesome|MAP_MARKER"/></graphic></Button>
|
|
<Button onAction="#clear"><graphic><Glyph text="FontAwesome|TRASH"/></graphic></Button>
|
|
</HBox>
|
|
</VBox>
|
|
</VBox>
|
|
</ScrollPane>
|
|
|
|
</HBox>
|