Package org.jamesii.gui.visualization.chart.plot.plugintype

Examples of org.jamesii.gui.visualization.chart.plot.plugintype.PlotFactory


  public IObserverListener create(ParameterBlock parameter, Context context) {
    IColoredPlot type = null;
    String t = ParameterBlocks.getSubBlockValue(parameter, PLOT_TYPE);
    if (t != null) {
      try {
        PlotFactory factory =
            (PlotFactory) SimSystem.getRegistry().getFactory(t);
        type = factory.create(parameter, SimSystem.getRegistry().createContext());
      } catch (Exception e) {
        SimSystem.report(Level.WARNING, "Factory could not be found: " + t, e);
      }
    }
View Full Code Here


    String t = ParameterBlocks.getSubBlockValue(params, PLOT);
    IColoredPlot p = null;

    if (t != null) {
      try {
        PlotFactory factory =
            (PlotFactory) SimSystem.getRegistry().getFactory(t);
        p = factory.create(params.getSubBlock(PLOT), SimSystem.getRegistry().createContext());
      } catch (Exception e) {
        SimSystem.report(Level.WARNING, "Factory could not be loaded: " + t, e);
      }
    }
View Full Code Here

TOP

Related Classes of org.jamesii.gui.visualization.chart.plot.plugintype.PlotFactory

Copyright © 2018 www.massapicom. 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.