Search in sources :

Example 1 with SimulationListPanel

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

the class ApplicationSimulationsPanel method initialize.

@Override
protected void initialize() {
    super.initialize();
    simulationListPanel = new SimulationListPanel();
    outputFunctionsPanel = new OutputFunctionsPanel();
    mathematicsPanel = new MathematicsPanel();
    SimulationsPanelTab[] simsPanelTabs = new SimulationsPanelTab[SimulationsPanelTabID.values().length];
    simsPanelTabs[SimulationsPanelTabID.simulations.ordinal()] = new SimulationsPanelTab(SimulationsPanelTabID.simulations, simulationListPanel, null);
    simsPanelTabs[SimulationsPanelTabID.output_functions.ordinal()] = new SimulationsPanelTab(SimulationsPanelTabID.output_functions, outputFunctionsPanel, null);
    simsPanelTabs[SimulationsPanelTabID.generated_math.ordinal()] = new SimulationsPanelTab(SimulationsPanelTabID.generated_math, mathematicsPanel, null);
    for (SimulationsPanelTab tab : simsPanelTabs) {
        tab.component.setBorder(GuiConstants.TAB_PANEL_BORDER);
        tabbedPane.addTab(tab.id.title, tab.icon, tab.component);
    }
}
Also used : SimulationListPanel(cbit.vcell.client.desktop.simulation.SimulationListPanel) OutputFunctionsPanel(cbit.vcell.client.desktop.simulation.OutputFunctionsPanel)

Example 2 with SimulationListPanel

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

the class MathModelEditor method initialize.

private void initialize() {
    try {
        rightSplitPane.setDividerLocation(400);
        rightSplitPane.setBottomComponent(rightBottomTabbedPane);
        mathModelEditorTreeModel = new MathModelEditorTreeModel(documentEditorTree);
        mathModelEditorTreeModel.setSelectionManager(selectionManager);
        mathModelEditorTreeCellRenderer = new MathModelEditorTreeCellRenderer();
        documentEditorTree.setModel(mathModelEditorTreeModel);
        documentEditorTree.setCellRenderer(mathModelEditorTreeCellRenderer);
        vcmlEditorPanel = new VCMLEditorPanel();
        vcmlEditorPanel.setMinimumSize(new java.awt.Dimension(198, 148));
        rightSplitPane.setTopComponent(vcmlEditorPanel);
        geometryViewer = new GeometryViewer();
        geometryViewer.setSelectionManager(selectionManager);
        geometryViewer.setIssueManager(issueManager);
        simulationListPanel = new SimulationListPanel();
        simulationListPanel.setSelectionManager(selectionManager);
        simulationListPanel.setIssueManager(issueManager);
        outputFunctionsPanel = new OutputFunctionsPanel();
        outputFunctionsPanel.setSelectionManager(selectionManager);
        outputFunctionsPanel.setIssueManager(issueManager);
        simulationSummaryPanel = new SimulationSummaryPanel();
        simulationSummaryPanel.setSelectionManager(selectionManager);
        simulationSummaryPanel.setIssueManager(issueManager);
        mathModelEditorAnnotationPanel.setSelectionManager(selectionManager);
        mathModelEditorAnnotationPanel.setIssueManager(issueManager);
        csgObjectPropertiesPanel = new CSGObjectPropertiesPanel();
        csgObjectPropertiesPanel.setSelectionManager(selectionManager);
        csgObjectPropertiesPanel.setIssueManager(issueManager);
    } catch (java.lang.Throwable ivjExc) {
        handleException(ivjExc);
    }
}
Also used : SimulationListPanel(cbit.vcell.client.desktop.simulation.SimulationListPanel) OutputFunctionsPanel(cbit.vcell.client.desktop.simulation.OutputFunctionsPanel) SimulationSummaryPanel(cbit.vcell.solver.ode.gui.SimulationSummaryPanel) GeometryViewer(cbit.vcell.geometry.gui.GeometryViewer) CSGObjectPropertiesPanel(cbit.vcell.geometry.gui.CSGObjectPropertiesPanel)

Aggregations

OutputFunctionsPanel (cbit.vcell.client.desktop.simulation.OutputFunctionsPanel)2 SimulationListPanel (cbit.vcell.client.desktop.simulation.SimulationListPanel)2 CSGObjectPropertiesPanel (cbit.vcell.geometry.gui.CSGObjectPropertiesPanel)1 GeometryViewer (cbit.vcell.geometry.gui.GeometryViewer)1 SimulationSummaryPanel (cbit.vcell.solver.ode.gui.SimulationSummaryPanel)1