private void editNode() { INavigationNode currNode = (INavigationNode) form.treNav().getSelectedNode().getValue(); if (NavigationNodeType.FORM.equals(currNode.getTypeNode())) { form.treNav().beginEditSelectedNode(); } else { form.getGlobalContext().Admin.setNavigationEditedGroup(currNode); engine.open(form.getForms().Admin.NavigationImageSelectDialog); } }