protected Shape drawForBoundary(DecorationAlgorithm algorithm, ContainerShape shape) {
return draw(algorithm, shape);
}
private Shape draw(DecorationAlgorithm algorithm, ContainerShape shape) {
Shape compensateShape = Graphiti.getPeService().createShape(shape, false);
Compensation compensation = GraphicsUtil.createEventCompensation(compensateShape);
compensation.arrow1.setFilled(false);
compensation.arrow1.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));
compensation.arrow2.setFilled(false);
compensation.arrow2.setForeground(algorithm.manageColor(StyleUtil.CLASS_FOREGROUND));