Examples of IProbabilityFunctionPanelBuilder


Examples of unbbayes.gui.table.extension.IProbabilityFunctionPanelBuilder

      // this is a node inserted by plugin infrastructure

      // Obtains the correct panel builder for currently selected node
      // TODO find a better way to couple the node and its builder without
      // messing up the draw/Node/GUI relationship
      IProbabilityFunctionPanelBuilder builder = null;
      try {
        builder = this.getPluginNodeManager().getPluginNodeInformation(
            s.getNode().getClass())
            .getProbabilityFunctionPanelBuilder();
      } catch (Exception e) {
        Debug.println(this.getClass(),
            "Could not restore the node panel builder for "
                + s.getNode().getName(), e);
      }
      if (builder != null) {
        // notify the probability function panel that the current owner
        // (node) is different
        builder.setProbabilityFunctionOwner(s.getNode());
        this.controller.getScreen().showProbabilityDistributionPanel(
            builder);
      }
    } else {
      if( s.getNode() != null )
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.