}
private void importButtonPressed() {
final Runnable r = new Runnable() {
public void run() {
RuleFlowImportsDialog dialog =
new RuleFlowImportsDialog(getShell(), process);
dialog.create();
int code = dialog.open();
if (code != CANCEL) {
List<String> imports = dialog.getImports();
process.setImports(imports);
List<String> functionImports = dialog.getFunctionImports();
process.setFunctionImports(functionImports);
completionProcessor.reset();
}
}
};