this.getGUI().newGraphCanvas(true, false);
JCRComponentRegistry jcrComponentRegistry = this.getConfiguration().getJcrComponentRegistry();
try {
Node node = jcrComponentRegistry.getRegistry().getWorkflow(new QName(XBayaConstants.LEAD_NS, this.configuration.getWorkflow()), this.getConfiguration().getRegistryUserName());
XmlElement xwf = XMLUtil.stringToXmlElement(node.getProperty("workflow").getString());
Workflow workflow = new Workflow(xwf);
this.setWorkflow(workflow);
} catch (RegistryException e) {
getErrorWindow().error(ErrorMessages.REPOSITORY_CONFIGURATION_IS_WRONG_FAILED_TO_LOAD_THE_WORKFLOW, e);
} catch (PathNotFoundException e) {
getErrorWindow().error(ErrorMessages.GIVEN_WORKFLOW_NAME_IS_WRONG, e);