Пример #1
0
 @Override
 protected void showAlternativeView() {
   final TableModel model;
   if (profileData != null) {
     model = createProfileDataTableModel();
   } else {
     model = new DefaultTableModel();
   }
   final TableViewPagePanel alternativPanel = (TableViewPagePanel) getAlternativeView();
   alternativPanel.setModel(model);
   super.showAlternativeView();
 }
Пример #2
0
  @Override
  protected void updateComponents() {
    if (!isInitialized || !isVisible()) {
      return;
    }

    final RasterDataNode raster = getRaster();
    if (raster != null) {
      chart.setTitle(CHART_TITLE + " for " + raster.getName());
    } else {
      chart.setTitle(CHART_TITLE);
    }

    correlativeFieldSelector.updatePointDataSource(getProduct());

    updateDataSource();
    updateDataSet();
    updateUIState();
    super.updateComponents();
  }
Пример #3
0
 @Override
 public void setVisible(boolean aFlag) {
   super.setVisible(aFlag);
   updateComponents();
 }