예제 #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();
 }