Search in sources :

Example 1 with StructureMappingCartoonPanel

use of cbit.vcell.mapping.gui.StructureMappingCartoonPanel in project vcell by virtualcell.

the class ApplicationGeometryPanel method initialize.

@Override
protected void initialize() {
    super.initialize();
    geometryViewer = new GeometryViewer();
    structureMappingCartoonPanel = new StructureMappingCartoonPanel();
    spatialEntitiesPanel = new SpatialEntitiesPanel();
    GeometryPanelTab[] geometryPanelTabs = new GeometryPanelTab[GeometryPanelTabID.values().length];
    geometryPanelTabs[GeometryPanelTabID.structure_mapping.ordinal()] = new GeometryPanelTab(GeometryPanelTabID.structure_mapping, structureMappingCartoonPanel, null);
    geometryPanelTabs[GeometryPanelTabID.geometry_definition.ordinal()] = new GeometryPanelTab(GeometryPanelTabID.geometry_definition, geometryViewer, null);
    geometryPanelTabs[GeometryPanelTabID.spatial_entities.ordinal()] = new GeometryPanelTab(GeometryPanelTabID.spatial_entities, spatialEntitiesPanel, null);
    for (GeometryPanelTab tab : geometryPanelTabs) {
        tab.component.setBorder(GuiConstants.TAB_PANEL_BORDER);
        tabbedPane.addTab(tab.id.title, tab.icon, tab.component);
    }
}
Also used : GeometryViewer(cbit.vcell.geometry.gui.GeometryViewer) StructureMappingCartoonPanel(cbit.vcell.mapping.gui.StructureMappingCartoonPanel)

Aggregations

GeometryViewer (cbit.vcell.geometry.gui.GeometryViewer)1 StructureMappingCartoonPanel (cbit.vcell.mapping.gui.StructureMappingCartoonPanel)1