Archived
0

implement add missions to current route

This commit is contained in:
iMoHax
2015-10-01 13:24:06 +03:00
parent 7b7fba78b5
commit 99c8e42f44
5 changed files with 121 additions and 6 deletions

View File

@@ -64,6 +64,9 @@
<Tab text="Маршрут">
<fx:include source="routeSearch.fxml"/>
</Tab>
<Tab text="Миссии">
<fx:include source="routeTrack.fxml"/>
</Tab>
</TabPane>
</center>

View File

@@ -0,0 +1,19 @@
<?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?>
<?import org.controlsfx.glyphfont.Glyph?>
<VBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="ru.trader.controllers.RouteTrackController"
spacing="4" >
<fx:include fx:id="missions" source="missions.fxml"/>
<HBox>
<ListView fx:id="missionsList" />
<Button prefWidth="30" onAction="#removeMission"><graphic><Glyph text="FontAwesome|MINUS"/></graphic></Button>
<Button prefWidth="80" text="Добавить" onAction="#addMissions" />
</HBox>
</VBox>