Search in sources :

Example 1 with CSGObjectPropertiesPanel

use of cbit.vcell.geometry.gui.CSGObjectPropertiesPanel in project vcell by virtualcell.

the class BioModelEditor method initialize.

private void initialize() {
    try {
        bioModelPropertiesPanel = new BioModelPropertiesPanel();
        bioModelEditorAnnotationPanel = new BioModelEditorAnnotationPanel();
        bioModelEditorModelPanel = new BioModelEditorModelPanel();
        bioModelEditorModelPanel.setMinimumSize(new java.awt.Dimension(198, 148));
        bioModelsNetPanel = new BioModelsNetPanel();
        bioModelEditorPathwayCommonsPanel = new BioModelEditorPathwayCommonsPanel();
        leftBottomTabbedPane.addTab(BioModelsNetPanel.BIO_MODELS_NET, bioModelsNetPanel);
        leftBottomTabbedPane.addTab("Pathway Comm", bioModelEditorPathwayCommonsPanel);
        // bioModelEditorSabioPanel = new BioModelEditorSabioPanel();
        // leftBottomTabbedPane.addTab("Sabio", bioModelEditorSabioPanel);
        // int index = leftBottomTabbedPane.getTabCount() - 1;
        // leftBottomTabbedPane.setEnabledAt(index, false);
        rightSplitPane.setTopComponent(bioModelEditorModelPanel);
        bioModelEditorTreeModel = new BioModelEditorTreeModel(documentEditorTree);
        bioModelEditorTreeCellRenderer = new BioModelEditorTreeCellRenderer();
        documentEditorTree.setModel(bioModelEditorTreeModel);
        documentEditorTree.addTreeExpansionListener(bioModelEditorTreeModel);
        documentEditorTree.setCellRenderer(bioModelEditorTreeCellRenderer);
        bioModelParametersPanel = new BioModelParametersPanel();
        bioModelParametersPanel.setSelectionManager(selectionManager);
        bioModelParametersPanel.setIssueManager(issueManager);
        bioModelEditorApplicationPanel = new BioModelEditorApplicationPanel();
        bioModelEditorApplicationPanel.setSelectionManager(selectionManager);
        bioModelEditorApplicationPanel.setIssueManager(issueManager);
        // dataSymbolsPanel = new DataSymbolsPanel();
        // dataSymbolsPanel.setSelectionManager(selectionManager);
        bioPaxObjectPropertiesPanel = new BioPaxObjectPropertiesPanel();
        bioPaxObjectPropertiesPanel.setSelectionManager(selectionManager);
        parameterEstimationTaskPropertiesPanel = new ParameterEstimationTaskPropertiesPanel();
        parameterEstimationTaskPropertiesPanel.setSelectionManager(selectionManager);
        bioModelEditorAnnotationPanel.setSelectionManager(selectionManager);
        bioModelEditorTreeModel.setSelectionManager(selectionManager);
        bioModelEditorModelPanel.setSelectionManager(selectionManager);
        bioModelEditorModelPanel.setIssueManager(issueManager);
        getBioModelsNetPropertiesPanel().setSelectionManager(selectionManager);
        getBioModelEditorApplicationsPanel().setSelectionManager(selectionManager);
        getReactionRulePropertiesPanel().setSelectionManager(selectionManager);
        getReactionPropertiesPanel().setSelectionManager(selectionManager);
        getSpeciesContextSpecPanel().setSelectionManager(selectionManager);
        getReactionRuleSpecPropertiesPanel().setSelectionManager(selectionManager);
        getSpatialObjectPropertyPanel().setSelectionManager(selectionManager);
        getSpatialProcessPropertyPanel().setSelectionManager(selectionManager);
        getKineticsTypeTemplatePanel().setSelectionManager(selectionManager);
        getSimulationSummaryPanel().setSelectionManager(selectionManager);
        getEventPanel().setSelectionManager(selectionManager);
        getDataSymbolsSpecPanel().setSelectionManager(selectionManager);
        getBioModelEditorPathwayPanel().setSelectionManager(selectionManager);
        getBioModelEditorPathwayDiagramPanel().setSelectionManager(selectionManager);
        bioModelsNetPanel.setSelectionManager(selectionManager);
        bioModelEditorPathwayCommonsPanel.setSelectionManager(selectionManager);
        // bioModelEditorSabioPanel.setSelectionManager(selectionManager);
        getBioModelsNetPropertiesPanel().setSelectionManager(selectionManager);
        getApplicationPropertiesPanel().setSelectionManager(selectionManager);
        getStructurePropertiesPanel().setSelectionManager(selectionManager);
        getSpeciesPropertiesPanel().setSelectionManager(selectionManager);
        getReactionRuleParticipantSignaturePropertiesPanel().setSelectionManager(selectionManager);
        getMolecularTypePropertiesPanel().setSelectionManager(selectionManager);
        getObservablePropertiesPanel().setSelectionManager(selectionManager);
        getParameterPropertiesPanel().setSelectionManager(selectionManager);
        getReactionParticipantPropertiesPanel().setSelectionManager(selectionManager);
        getAnnotationsPanel().setSelectionManager(selectionManager);
        // any other panels above which may display shapes (large / small) may need to have their issue manager set here
        getSpeciesPropertiesPanel().setIssueManager(issueManager);
        getReactionRuleParticipantSignaturePropertiesPanel().setIssueManager(issueManager);
        getMolecularTypePropertiesPanel().setIssueManager(issueManager);
        getObservablePropertiesPanel().setIssueManager(issueManager);
        getReactionRulePropertiesPanel().setIssueManager(issueManager);
        csgObjectPropertiesPanel = new CSGObjectPropertiesPanel();
        csgObjectPropertiesPanel.setSelectionManager(selectionManager);
        csgObjectPropertiesPanel.setIssueManager(issueManager);
    } catch (java.lang.Throwable ivjExc) {
        handleException(ivjExc);
    }
}
Also used : CSGObjectPropertiesPanel(cbit.vcell.geometry.gui.CSGObjectPropertiesPanel)

Example 2 with CSGObjectPropertiesPanel

use of cbit.vcell.geometry.gui.CSGObjectPropertiesPanel 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

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