@Override public void initParameters() { if (sourceProducts != null && sourceProducts.length > 0) { final MetadataElement absRoot = AbstractMetadata.getAbstractedMetadata(sourceProducts[0]); OperatorUIUtils.initParamList( polList, Sentinel1Utils.getProductPolarizations(absRoot), (String[]) paramMap.get("selectedPolarisations")); } }
@Override public void updateParameters() { OperatorUIUtils.updateParamList(polList, paramMap, "selectedPolarisations"); }