private void UpdateTypeIcon() { typeIcon = IconFactory.CreateGatewayType(type, IconColor); if (typeIcon != null) { typeIcon = IconFactory.CreatePlacedIcon(typeIcon, BpmnConstants.GatewayTypePlacement, SizeD.Empty); } }