public void setup(final ApplicationContext appContext, final IClusterModel clusterModel, final String persistenceUnit) { this.appContext = appContext; this.clusterModel = clusterModel; this.persistenceUnit = persistenceUnit; add(createTopPanel(), BorderLayout.NORTH); table = new XObjectTable(tableModel = new RegionInfoTableModel()); table.getColumnModel().getColumn(1).setCellRenderer(new CachedColumnRenderer()); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.getSelectionModel().addListSelectionListener(this); detailPanel = new CacheRegionDetailPanel(appContext); add(new XScrollPane(table), BorderLayout.CENTER); appContext.submit(new RegionInfoGetter()); }
public void setup(final ApplicationContext appContext, final IClusterModel clusterModel, final String persistenceUnit) { this.appContext = appContext; this.clusterModel = clusterModel; this.persistenceUnit = persistenceUnit; add(createTopPanel(), BorderLayout.NORTH); table = new XObjectTable(tableModel = new RegionInfoTableModel()); table.getColumnModel().getColumn(1).setCellRenderer(new CachedColumnRenderer()); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.getSelectionModel().addListSelectionListener(this); detailPanel = new CacheRegionDetailPanel(appContext); add(new XScrollPane(table), BorderLayout.CENTER); appContext.submit(new RegionInfoGetter()); }
public void setup(final ApplicationContext appContext, final IClusterModel clusterModel, final String persistenceUnit) { this.appContext = appContext; this.clusterModel = clusterModel; this.persistenceUnit = persistenceUnit; add(createTopPanel(), BorderLayout.NORTH); table = new XObjectTable(tableModel = new RegionInfoTableModel()); table.getColumnModel().getColumn(1).setCellRenderer(new CachedColumnRenderer()); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); table.getSelectionModel().addListSelectionListener(this); detailPanel = new CacheRegionDetailPanel(appContext); add(new XScrollPane(table), BorderLayout.CENTER); appContext.submit(new RegionInfoGetter()); }