private void UpdateTypeIcon() { typeIcon = IconFactory.CreateDataObjectType(Type, IconColor); if (typeIcon != null) { typeIcon = IconFactory.CreatePlacedIcon(typeIcon, BpmnConstants.DataObjectTypePlacement, BpmnConstants.DataObjectTypeSize); } }