use of org.apache.hop.ui.workflow.dialog.WorkflowDialog in project hop by apache.
the class HopGuiWorkflowGraph method editProperties.
public boolean editProperties(WorkflowMeta workflowMeta, HopGui hopGui, boolean allowDirectoryChange) {
if (workflowMeta == null) {
return false;
}
WorkflowDialog jd = new WorkflowDialog(hopGui.getShell(), SWT.NONE, variables, workflowMeta);
if (jd.open() != null) {
// If we added properties, add them to the variables too, so that they appear in the
// CTRL-SPACE variable completion.
//
hopGui.setParametersAsVariablesInUI(workflowMeta, variables);
updateGui();
perspective.updateTabs();
return true;
}
return false;
}
Aggregations