Examples of create()


Examples of org.jamesii.core.model.symbolic.convert.plugintype.ConverterFactory.create()

      throw new ConversionException("Configuration problem: No converter for "
          + this.getClass().getCanonicalName() + " to a document of type "
          + targetFormat + " exists!", nothingFound);
    }
    pb.setValue(this);
    return cF.create(pb, SimSystem.getRegistry().createContext());
  }

  @Override
  public boolean setFromDataStructure(D model) {
    this.model = model;

Examples of org.jamesii.core.remote.hostcentral.HostCentralIDFactory.create()

  }

  public void testObjectRegistration() {
    HostCentralIDFactory idFac = new HostCentralIDFactory();
    d = new Dummy();
    id = idFac.create(new ParameterBlock(d, HostCentralIDFactory.PARAM_OBJECT), SimSystem.getRegistry().createContext());
    assertTrue(null != id);

    IObjectId id2 =
        new BasicRemoteObjectId(id.getStringRep(), d.getClass().getName());

Examples of org.jamesii.gui.model.parametersetup.plugintype.ModelParameterSetupWindowFactory.create()

      });
      return;
    }

    modelParameterWindow = editor.create(amwfp, SimSystem.getRegistry().createContext());

    // TODO sr137: replace this by getWizardContent in a dedicated
    // interface
    final JComponent c = modelParameterWindow.getContent();

Examples of org.jamesii.gui.service.view.plugintype.ServiceViewFactory.create()

        ParameterBlock viewParams = new ParameterBlock();
        viewParams.addSubBlock(ServiceViewFactory.SERVICE, service);
        ServiceViewFactory factory =
            SimSystem.getRegistry().getFactory(
                AbstractServiceViewFactory.class, viewParams);
        IServiceView view = factory.create(viewParams, SimSystem.getRegistry().createContext());
        view.setupObservers();
        getWindowManager().addWindow(view);
      }
    }
  }

Examples of org.jamesii.gui.visualization.chart.plot.plugintype.PlotFactory.create()

    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);
      }
    }

Examples of org.jamesii.gui.visualization.modelbrowser.plugintype.ModelBrowserFactory.create()

      // ModelBrowserFactory mbFac =
      // SimSystem.getRegistry().getFactory(AbstractModelBrowserFactory.class,
      // pBlock);

      WindowManagerManager.getWindowManager().addWindow(mbFac.create(pBlock, SimSystem.getRegistry().createContext()));

      // FIXME the window has to be closed! Btw what about these actions and
      // concurrent runs?

    }

Examples of org.jamesii.gui.workflow.experiment.plugintype.ExperimentSetupEditorFactory.create()

    ParameterBlock params =
        new ParameterBlock(model, ExperimentSetupEditorFactory.MODEL);

    page.removeAll();
    editor = experimentFactory.create(params, SimSystem.getRegistry().createContext());
    editor.setupFromExperiment(experiment);
    for (int i = 0; i < editor.getPageCount(); i++) {
      page.addTab(editor.getPageTitle(i), editor.getPage(i));
    }
  }

Examples of org.jamesii.model.carules.grid.plugintype.BaseGridFactory.create()

    block = new ParameterBlock();
    block.addSubBlock(BaseGridFactory.SIZE, size);
    block.addSubBlock(BaseGridFactory.DEFAULTSTATE, defaultState);
    block.addSubBlock(BaseGridFactory.NUMBER_OF_STATES, numberOfStates);

    return factory.create(block, SimSystem.getRegistry().createContext());
  }

  /**
   * Creates a grid for the specified parameters.
   *
 

Examples of org.jamesii.perfdb.jdbc.BenchmarkModel.create()

  }

  @Override
  public SimulationProblem getEntity() throws Exception {
    BenchmarkModel bmModel = (new BenchmarkModelTest()).getConnectedEntity();
    bmModel.create();
    return new SimulationProblem(bmModel, null);
  }

}

Examples of org.jamesii.perfdb.jdbc.FeatureType.create()

  public Feature getEntity() throws Exception {

    SimulationProblem sp = (new SimProblemTest()).getConnectedEntity();
    sp.create();
    FeatureType f = (new FeatureTest()).getConnectedEntity();
    f.create();
    return new Feature(sp, f, null);
  }

}
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.