Package repast.simphony.ui.plugin.editor

Examples of repast.simphony.ui.plugin.editor.OptionsEditorDialog


  @Override
  public Editor getEditor(ScenarioTreeEvent evt) {
    DbOutputterWizard wizard = new DbOutputterWizard(DataUtilities.getDataGathererDescriptors(evt.getRegistry(),
        evt.getContextID()), evt.getScenario(), evt.getContextID());
    wizard.getModel().setDescriptor(action.getDescriptor());
    OptionsEditorDialog dialog = new OptionsEditorDialog();
    dialog.setSize(dialog.getSize().width + WIDTH_ENLARGE, dialog.getSize().width);

    for (PanelWizardStep step : (ArrayList<PanelWizardStep>) wizard.getModel().getFirstPath().getSteps()) {
      dialog.addContent(step.getName(), null, step, wizard.getWizard());
    }

    return dialog;
  }
View Full Code Here

TOP

Related Classes of repast.simphony.ui.plugin.editor.OptionsEditorDialog

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.