@Test public void testCreateUndoCommand() { final AbstractCanvasCommand command = this.tested.createUndoCommand(parent, candidate, "ssid"); assertNotNull(command); assertTrue(command instanceof CaseManagementAddChildNodeCanvasCommand); }
@Override protected AbstractCanvasCommand createUndoCommand(Node parent, Node candidate, String ssid) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, ssid, index); }
CaseManagementDeleteCanvasNodeCommand extends DeleteCanvasNodeCommand { @Override protected AbstractCanvasCommand createUndoCommand(Node parent, Node candidate, String ssid) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, ssid, index); } }
CaseManagementDeleteCanvasNodeCommand extends DeleteCanvasNodeCommand { @Override protected AbstractCanvasCommand createUndoCommand(Node parent, Node candidate, String ssid) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, ssid, index); } CaseManagementDeleteCanvasNodeCommand(Node candidate);  CaseManagementDeleteCanvasNodeCommand(Node candidate,
                                                 Node parent,
                                                 int index); }
CaseManagementDeleteCanvasNodeCommand extends DeleteCanvasNodeCommand { @Override protected AbstractCanvasCommand createUndoCommand(Node parent, Node candidate, String ssid) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, ssid, index); } CaseManagementDeleteCanvasNodeCommand(Node candidate);  CaseManagementDeleteCanvasNodeCommand(Node candidate,
                                                 Node parent,
                                                 int index);  }
CaseManagementDeleteCanvasNodeCommand extends DeleteCanvasNodeCommand { @Override protected AbstractCanvasCommand createUndoCommand(Node parent, Node candidate, String ssid) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, ssid, index); } CaseManagementDeleteCanvasNodeCommand(Node candidate);  CaseManagementDeleteCanvasNodeCommand(Node candidate,
                                                 Node parent,
                                                 int index);   }