@Override
    public Label createNode() {
        final Label label = new Label("");
        events.on(BeforeGenerate.class, bg -> runLater(() -> label.setText("Generating...")));
        events.on(FileGenerated.class, fg -> runLater(() -> label.setText(fg.meta().getModel().getName())));
        events.on(AfterGenerate.class, ag -> runLater(() -> label.setText("")));
        return label;
    }
Displays the generation progress in the toolbar.

@author Emil Forslund
@since  3.1.5
tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/toolbar/GenerationProgressToolbarItem.java