private static String[] createFormats() { final String[] productWriterFormatStrings = ProductIOPlugInManager.getInstance().getAllProductWriterFormatStrings(); final String[] formatNames = Arrays.copyOf(productWriterFormatStrings, productWriterFormatStrings.length + 1); formatNames[formatNames.length - 1] = ENVISAT_FORMAT_NAME; return formatNames; } }
public TargetProductSelectorModel() { this(ProductIOPlugInManager.getInstance().getAllProductWriterFormatStrings()); }
String[] writers = registry.getAllProductWriterFormatStrings(); Arrays.sort(writers); propertyContainer.getDescriptor(ToolAdapterConstants.PROCESSING_WRITER).setValueSet(new ValueSet(writers));