@Override protected void onOK() { updateCodeHistory(); super.onOK(); }
@Override protected void onOK() { super.onOK(); for (FilterSet userFilterSet : userFilterSets) { userFilterSet.setEditable(true); try { filterSetStore.storeFilterSetModel(userFilterSet); } catch (IOException e) { // todo e.printStackTrace(); } } }
@Override protected void onOK() { super.onOK(); getParent().setVisible(true); // todo: Visat main window disappears otherwise, find better solution }
@Override protected void onOK() { super.onOK(); getParent().setVisible(true); // todo: Visat main window disappears otherwise, find better solution }
@Override protected void onOK() { for (int i = 0; i < getNumRootPages(); i++) { ConfigPage page = getRootPageAt(i); onOK(page); } super.onOK(); }
@Override protected void onOK() { getParamGroup().getParameterValues(visatApp.getPreferences()); super.onOK(); }
@Override protected void onOK() { super.onOK(); String prodName = _paramNewName.getValueAsText(); String prodDesc = _paramNewDesc.getValueAsText(); int flipType = 0; if (_buttonHorizontal.isSelected()) { flipType = ProductFlipper.FLIP_HORIZONTAL; } else if (_buttonVertical.isSelected()) { flipType = ProductFlipper.FLIP_VERTICAL; } else if (_buttonBoth.isSelected()) { flipType = ProductFlipper.FLIP_BOTH; } _resultProduct = null; try { _resultProduct = getSourceProduct().createFlippedProduct(flipType, prodName, prodDesc); } catch (IOException e) { _exception = e; } }
@Override protected void onOK() { VariableConfig vc = variableItem.variableConfig; vc.setName(vc.getName().trim()); vc.setExpr(vc.getExpr().trim()); vc.setValidExpr(vc.getValidExpr() != null ? vc.getValidExpr().trim() : ""); super.onOK(); }
@Override protected void onOK() { final String lonValue = (String) _lonBox.getSelectedItem(); _selectedLonBand = findBandName(lonValue); final String latValue = (String) _latBox.getSelectedItem(); _selectedLatBand = findBandName(latValue); if (_selectedLatBand == null || _selectedLonBand == null || _selectedLatBand == _selectedLonBand) { VisatApp.getApp().showWarningDialog(super.getJDialog().getTitle(), "You have to select two different bands for the Pixel Geo-Coding."); /*I18N*/ } else { super.onOK(); } }
@Override protected void onOK() { boolean ok; ok = checkReferencedRastersIncluded(); if (!ok) { return; } ok = checkFlagDatasetIncluded(); if (!ok) { return; } spatialSubsetPane.cancelThumbnailLoader(); if (productSubsetDef != null && productSubsetDef.isEntireProductSelected()) { productSubsetDef = null; } super.onOK(); }
@Override protected void onOK() { if (ProductNode.isValidNodeName(getName())) { super.onOK(); } else { showInformationDialog("'" + getName() + "' is not a valid " + placemarkDescriptor.getRoleLabel() + " name."); /*I18N*/ } }
@Override protected void onOK() { timeSeries.setAutoAdjustingTimeCoding(autoAdjustBox.isSelected()); final ProductData.UTC startTime = ProductData.UTC.create(startTimeBox.getDate(), 0); final ProductData.UTC endTime = ProductData.UTC.create(endTimeBox.getDate(), 0); timeSeries.setTimeCoding(new GridTimeCoding(startTime, endTime)); super.onOK(); }
@Override protected void onOK() { AggregatorConfig config = aggregatorDescriptor.createConfig(); PropertySet objectPropertySet = config.asPropertySet(); Property[] mapProperties = aggregatorPropertySet.getProperties(); for (Property mapProperty : mapProperties) { objectPropertySet.setValue(mapProperty.getName(), mapProperty.getValue()); } objectPropertySet.setValue("type", aggregatorDescriptor.getName()); aggregatorItem.aggregatorConfig = config; aggregatorItem.aggregatorDescriptor = aggregatorDescriptor; super.onOK(); }
@Override protected void onOK() { super.onOK(); String prodName = paramNewName.getValueAsText(); String prodDesc = paramNewDesc.getValueAsText();