Package org.jamesii.gui.model.parametersetup.plugintype

Examples of org.jamesii.gui.model.parametersetup.plugintype.ModelParameterSetupWindowFactory


    }

    ParameterBlock amwfp =
        new ParameterBlock(model, AbstractModelWindowFactory.MODEL);

    ModelParameterSetupWindowFactory editor = null;
    for (ModelParameterSetupWindowFactory f : factories) {
      if (f != null && f.supportsParameters(amwfp) > 0) {
        editor = f;
        break;
      }
    }

    if (editor == null) {
      BasicUtilities.invokeLaterOnEDT(new Runnable() {

        @Override
        public void run() {
          page.add(new JLabel("No Parameter Editor found!!!"),
              BorderLayout.CENTER);
          page.revalidate();
          page.repaint();
        }

      });
      return;
    }

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

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

TOP

Related Classes of org.jamesii.gui.model.parametersetup.plugintype.ModelParameterSetupWindowFactory

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.