code cleanup & processbuilder
* use a processBuilder to start the new application after updating
This commit is contained in:
parent
78fa84758d
commit
e12da3d116
|
@ -224,7 +224,7 @@ public class MainWindowController {
|
||||||
private TreeTableColumn<FilmTabelDataType, ImageView> columnFavorite = new TreeTableColumn<>("Favorite");
|
private TreeTableColumn<FilmTabelDataType, ImageView> columnFavorite = new TreeTableColumn<>("Favorite");
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private TreeItem<SourceDataType> sourceRoot =new TreeItem<>(new SourceDataType("", ""));
|
private TreeItem<SourceDataType> sourceRoot = new TreeItem<>(new SourceDataType("", ""));
|
||||||
@FXML
|
@FXML
|
||||||
private TableColumn<SourceDataType, String> sourceColumn;
|
private TableColumn<SourceDataType, String> sourceColumn;
|
||||||
@FXML
|
@FXML
|
||||||
|
@ -331,7 +331,7 @@ public class MainWindowController {
|
||||||
filmsTreeTable.getColumns().add(columnFavorite);
|
filmsTreeTable.getColumns().add(columnFavorite);
|
||||||
filmsTreeTable.getColumns().add(columnSeason);
|
filmsTreeTable.getColumns().add(columnSeason);
|
||||||
filmsTreeTable.getColumns().add(columnEpisode);
|
filmsTreeTable.getColumns().add(columnEpisode);
|
||||||
filmsTreeTable.getColumns().get(0).setVisible(false); //hide columnStreamUrl (important)
|
filmsTreeTable.getColumns().get(0).setVisible(false); // hide columnStreamUrl (important)
|
||||||
|
|
||||||
// context menu for treeTableViewfilm
|
// context menu for treeTableViewfilm
|
||||||
filmsTreeTable.setContextMenu(menu);
|
filmsTreeTable.setContextMenu(menu);
|
||||||
|
@ -342,7 +342,7 @@ public class MainWindowController {
|
||||||
sourcesTable.setItems(sourcesList);
|
sourcesTable.setItems(sourcesList);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Initializing the actions
|
// Initializing the actions
|
||||||
private void initActions() {
|
private void initActions() {
|
||||||
|
|
||||||
HamburgerBackArrowBasicTransition burgerTask = new HamburgerBackArrowBasicTransition(menuHam);
|
HamburgerBackArrowBasicTransition burgerTask = new HamburgerBackArrowBasicTransition(menuHam);
|
||||||
|
|
Loading…
Reference in New Issue