Search in sources :

Example 6 with ModelPageEditor

use of com.sri.ai.praise.sgsolver.demo.editor.ModelPageEditor in project aic-praise by aic-sri-international.

the class SGSolverDemoController method createModelPage.

private Node createModelPage(Integer pgIndex) {
    Node result = null;
    if (perspective != null && perspective.getModelPageEditors().containsKey(pgIndex)) {
        ModelPageEditor modelPage = perspective.getModelPageEditors().get(pgIndex).get();
        result = modelPage.getRootPane();
    }
    return result;
}
Also used : Node(javafx.scene.Node) ModelPageEditor(com.sri.ai.praise.sgsolver.demo.editor.ModelPageEditor)

Aggregations

ModelPageEditor (com.sri.ai.praise.sgsolver.demo.editor.ModelPageEditor)6 Pair (com.sri.ai.util.base.Pair)1 IOException (java.io.IOException)1 ArrayList (java.util.ArrayList)1 FXMLLoader (javafx.fxml.FXMLLoader)1 Node (javafx.scene.Node)1