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);
}
}
Aggregations