1. DataFX
  2. Untitled project
  3. DataFX
  4. Issues
Issue #30 resolved

Injection does not works with abstract classes

Nicolas-Xavier Vanderlinden
created an issue
public class MasterController extends ViewController {

    private TableView<DeliveryPoint> tableView;

    public void init() {
        tableView.setOnMouseClicked(new EventHandler<MouseEvent>() {
            public void handle(MouseEvent event) {
               if(event.getClickCount() >= 2) {


public abstract class ViewController {

    protected ViewFlowContext context;

    protected FlowActionHandler actionHandler;

actionHandler is never injected. I have to move @ActionHandler from abstract class to MainController.java

Comments (4)

  1. Hendrik Ebbers

    Will try to fix this for 8-b3. 8-b2 will be released the next day. In this version actions will be executed by default with a double click on a table. So you don't need the event handler any more.

  2. Log in to comment