/** * Validates the input and then call the GPF to execute the graph */ public void DoProcessing() { if (ValidateAllNodes()) { if (!checkIfOutputExists()) { return; } SystemUtils.freeAllMemory(); progressBar.setValue(0); final ProcessThread processThread = new ProcessThread(progBarMonitor); processThread.execute(); } else { showErrorDialog(statusLabel.getText()); } }
/** * pass in a file list for a ProductSetReader * * @param product the product files */ public void setInputFile(final Product product) { final GraphNode readerNode = graphEx.getGraphNodeList().findGraphNodeByOperator( ReadOp.Spi.getOperatorAlias(ReadOp.class)); if (readerNode != null) { SourceUI ui = (SourceUI) readerNode.GetOperatorUI(); ui.setSourceProduct(product); ValidateAllNodes(); } }
ValidateAllNodes(); break; case REFRESH_EVENT: