Search in sources :

Example 1 with SimulationStatusDetails

use of cbit.vcell.client.desktop.simulation.SimulationStatusDetails in project vcell by virtualcell.

the class ClientSimManager method showSimulationStatusDetails.

/**
 * Insert the method's description here.
 * Creation date: (6/7/2004 10:31:36 AM)
 * @param simulations cbit.vcell.solver.Simulation[]
 */
public void showSimulationStatusDetails(Simulation[] simulations) {
    if (simulations != null) {
        // (Simulation[])cbit.util.BeanUtils.getArray(v, Simulation.class);
        final Simulation[] simsToShow = simulations;
        for (int i = 0; i < simsToShow.length; i++) {
            SimulationStatusDetailsPanel ssdp = new SimulationStatusDetailsPanel();
            ssdp.setPreferredSize(new Dimension(800, 350));
            ssdp.setSimulationStatusDetails(new SimulationStatusDetails(getSimWorkspace(), simsToShow[i]));
            DialogUtils.showComponentCloseDialog(getDocumentWindowManager().getComponent(), ssdp, "Simulation Status Details");
            ssdp.setSimulationStatusDetails(null);
        }
    }
}
Also used : SimulationStatusDetailsPanel(cbit.vcell.client.desktop.simulation.SimulationStatusDetailsPanel) Simulation(cbit.vcell.solver.Simulation) TempSimulation(cbit.vcell.solver.TempSimulation) Dimension(java.awt.Dimension) SimulationStatusDetails(cbit.vcell.client.desktop.simulation.SimulationStatusDetails)

Aggregations

SimulationStatusDetails (cbit.vcell.client.desktop.simulation.SimulationStatusDetails)1 SimulationStatusDetailsPanel (cbit.vcell.client.desktop.simulation.SimulationStatusDetailsPanel)1 Simulation (cbit.vcell.solver.Simulation)1 TempSimulation (cbit.vcell.solver.TempSimulation)1 Dimension (java.awt.Dimension)1