super(owner, index, locatorIndex);
}
@Override
protected Color getBorderColor() {
DiagramConnectionEditPart editPart = (DiagramConnectionEditPart)this.getOwner();
DiagramResourceCache cache = editPart.getCastedModel().getDiagramModel().getResourceCache();
return isPrimary() ? cache.getColor(FOREGROUND_COLOR_PRIMARY) : cache.getColor(FOREGROUND_COLOR_SECONDARY);
}