band.setForeground(gaService.manageColor(diagram, StyleUtil.CLASS_FOREGROUND));
band.setBackground(initiating ? gaService.manageColor(diagram, IColorConstant.WHITE) : gaService.manageColor(
diagram, IColorConstant.LIGHT_GRAY));
gaService.setLocationAndSize(band, 0, 0, w, h);
Participant p = (Participant) bpmnShape.getBpmnElement();
if (showNames) {
addBandLabel(bandShape, p.getName(), w, h);
}
AnchorUtil.addFixedPointAnchors(bandShape, band);
peService.setPropertyValue(bandShape, ChoreographyProperties.BAND, Boolean.toString(true));
peService.setPropertyValue(bandShape, ChoreographyProperties.MESSAGE_VISIBLE,
Boolean.toString(bpmnShape.isIsMessageVisible()));