use of org.apache.hop.ui.hopgui.dialog.CheckPipelineProgressDialog in project hop by apache.
the class HopGuiPipelineGraph method checkPipeline.
@GuiToolbarElement(root = GUI_PLUGIN_TOOLBAR_PARENT_ID, id = TOOLBAR_ITEM_CHECK, toolTip = "i18n:org.apache.hop.ui.hopgui:HopGui.Tooltip.VerifyPipeline", image = "ui/images/check-pipeline.svg", separator = true)
public void checkPipeline() {
try {
CheckPipelineProgressDialog dialog = new CheckPipelineProgressDialog(getShell(), variables, pipelineMeta, getRemarks(), false);
dialog.open();
CheckResultDialog crd = new CheckResultDialog(getShell(), getRemarks());
String transformName = crd.open();
if (transformName != null) {
// Go to the indicated transform
//
TransformMeta transformMeta = pipelineMeta.findTransform(transformName);
if (transformMeta != null) {
pipelineTransformDelegate.editTransform(pipelineMeta, transformMeta);
}
}
} catch (Exception e) {
new ErrorDialog(getShell(), "Error", "Error verifying pipeline", e);
}
}
Aggregations