8000 Content of nodes added to flow after setting up skin factories doesn't get updated · Issue #28 · miho/VWorkflows · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Content of nodes added to flow after setting up skin factories doesn't get updated #28
Open
@tengwar

Description

@tengwar

With code like:

    flow = loadFlow();
    addNode("1");

    // create skin factory for flow visualization
    FXValueSkinFactory fXSkinFactory = new FXValueSkinFactory(rootPane);
    // register visualizations for various types
    fXSkinFactory.addSkinClassForValueType(Example.class, ExampleFlowNodeSkin.class);
    // generate the ui for the flow
    flow.setSkinFactories(fXSkinFactory);
    addNode("2");

The second added node appears empty as FXFlowNodeSkinBase's updateView() never gets called for it. I suggest watching the flow for new nodes and acting on them too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0