@Override //Override to make public for test public void drawShape(final String color, final double strokeWidth, final MultiPath multiPath, final PickerPart pickerPart, final boolean fill) { super.drawShape(color, strokeWidth, multiPath, pickerPart, fill); } }
void addDropZone(final CaseManagementShapeView prim) { final Optional<MultiPath> optMultiPath = prim.getDropZone(); if (optMultiPath.isPresent()) { final MultiPath multiPath = optMultiPath.get(); multiPath.getAttributes().setX(prim.getX()); multiPath.getAttributes().setY(prim.getY()); drawShape(m_colorKeyRotor.next(), multiPath.getStrokeWidth(), multiPath, new PickerPart(prim, PickerPart.ShapePart.BODY), true); } } }