@Test public void testCreateAddCanvasChildNodeCommand() throws Exception { final AbstractCanvasCommand command = tested.createAddCanvasChildNodeCommand(parent, candidate, SHAPE_SET_ID); assertTrue(CaseManagementAddChildNodeCanvasCommand.class.isInstance(command)); }
@Override public AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, shapeSetId, getChildCanvasIndex(parent, candidate)); }
CaseManagementCloneCanvasNodeCommand extends CloneCanvasNodeCommand { @Override public AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, shapeSetId, getChildCanvasIndex(parent, candidate)); } }
CaseManagementCloneCanvasNodeCommand extends CloneCanvasNodeCommand { @Override public AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, shapeSetId, getChildCanvasIndex(parent, candidate)); } CaseManagementCloneCanvasNodeCommand(final Node parent, final Node candidate, final String shapeSetId,
                                                final ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); }
CaseManagementCloneCanvasNodeCommand extends CloneCanvasNodeCommand { @Override public AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, shapeSetId, getChildCanvasIndex(parent, candidate)); } CaseManagementCloneCanvasNodeCommand(final Node parent, final Node candidate, final String shapeSetId,
                                                final ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); @Override AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId); @Override CloneCanvasNodeCommand createCloneCanvasNodeCommand(Node parent, Node candidate, String shapeSetId); }
CaseManagementCloneCanvasNodeCommand extends CloneCanvasNodeCommand { @Override public AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId) { return new CaseManagementAddChildNodeCanvasCommand(parent, candidate, shapeSetId, getChildCanvasIndex(parent, candidate)); } CaseManagementCloneCanvasNodeCommand(final Node parent, final Node candidate, final String shapeSetId,
                                                final ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); @Override AbstractCanvasCommand createAddCanvasChildNodeCommand(Node parent, Node candidate, String shapeSetId); @Override CloneCanvasNodeCommand createCloneCanvasNodeCommand(Node parent, Node candidate, String shapeSetId);  }