com.github.fge.grappa.debugger.mainwindow.MainWindowDisplay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grappa-debugger Show documentation
Show all versions of grappa-debugger Show documentation
GUI application to debug grappa parsers
The newest version!
package com.github.fge.grappa.debugger.mainwindow;
import com.github.fge.grappa.debugger.javafx.JavafxDisplay;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.ProgressBar;
import javafx.scene.layout.BorderPane;
public class MainWindowDisplay
extends JavafxDisplay
{
@FXML
protected BorderPane pane;
@FXML
protected Label label;
@FXML
protected Label dbLoadStatus;
@FXML
protected ProgressBar dbLoadProgress;
@FXML
protected Label dbLoadProgressMessage;
@Override
public void init()
{
}
@FXML
void newWindowEvent(final ActionEvent event)
{
presenter.handleNewWindow();
}
@FXML
void closeWindowEvent(final ActionEvent event)
{
presenter.handleCloseWindow();
}
@FXML
void loadFileEvent(final ActionEvent event)
{
presenter.handleLoadFile();
}
}