Package org.jamesii.gui.utils.parameters.factories

Examples of org.jamesii.gui.utils.parameters.factories.FactoryParameterPanel


      return;
    }

    IFactoryInfo factoryInfo = SimSystem.getRegistry().getFactoryInfo(factory);

    parameterPanel = new FactoryParameterPanel(factoryInfo, parameters);

    parameterPanel
        .addPropertyChangedListener(parameterPanelPropertyChangedListener);

    if (factoryInfo.getParameters().size() == 0) {
View Full Code Here


        if (v != null) {
          IFactoryInfo info =
              SimSystem.getRegistry().getFactoryInfo(
                  v.getFactory().getClass().getName());
          if (info != null) {
            FactoryParameterPanel p =
                new FactoryParameterPanel(info, v.getParameters());
            v.setParameters(p.getParameterBlock());

            multiSelection.add(fpane = p, BorderLayout.CENTER);
          } else {
            multiSelection.add(fpane = ninfo, BorderLayout.CENTER);
          }
View Full Code Here

      ParameterBlock fParameters = factoryParameters.get(currentFactory);
      if (fParameters == null) {
        fParameters = new ParameterBlock();
        factoryParameters.put(currentFactory, fParameters);
      }
      fpPanel = new FactoryParameterPanel(factoryInfo, fParameters);
      parameterPanel.add(fpPanel, BorderLayout.CENTER);
    }
    BasicUtilities.redrawComp(this);
  }
View Full Code Here

TOP

Related Classes of org.jamesii.gui.utils.parameters.factories.FactoryParameterPanel

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.