@Test public void testGetCloneCanvasNodeCommand() { final CaseManagementCloneCanvasNodeCommand command = tested.getCloneCanvasNodeCommand(parent, clone, shapeUUID); assertEquals(parent, command.getParent()); assertEquals(clone, command.getCandidate()); assertEquals(shapeUUID, command.getShapeSetId()); }
@Override public CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId) { return new CaseManagementCloneCanvasNodeCommand(parent, clone, shapeId, getChildrenTraverseProcessor()); }
CaseManagementCloneNodeCommand extends CloneNodeCommand { @Override public CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId) { return new CaseManagementCloneCanvasNodeCommand(parent, clone, shapeId, getChildrenTraverseProcessor()); } }
CaseManagementCloneNodeCommand extends CloneNodeCommand { @Override public CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId) { return new CaseManagementCloneCanvasNodeCommand(parent, clone, shapeId, getChildrenTraverseProcessor()); } CaseManagementCloneNodeCommand(Node candidate,
                                          String parentUuid,
                                          Point2D cloneLocation,
                                          Consumer<Node> cloneNodeCommandCallback,
                                          ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); }
CaseManagementCloneNodeCommand extends CloneNodeCommand { @Override public CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId) { return new CaseManagementCloneCanvasNodeCommand(parent, clone, shapeId, getChildrenTraverseProcessor()); } CaseManagementCloneNodeCommand(Node candidate,
                                          String parentUuid,
                                          Point2D cloneLocation,
                                          Consumer<Node> cloneNodeCommandCallback,
                                          ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); @Override CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId); }
CaseManagementCloneNodeCommand extends CloneNodeCommand { @Override public CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId) { return new CaseManagementCloneCanvasNodeCommand(parent, clone, shapeId, getChildrenTraverseProcessor()); } CaseManagementCloneNodeCommand(Node candidate,
                                          String parentUuid,
                                          Point2D cloneLocation,
                                          Consumer<Node> cloneNodeCommandCallback,
                                          ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); @Override CaseManagementCloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId);  }