Select uv editor only in switch

As create this switch for uv editor?
if i use IMAGE_EDITOR value this set only image editor in 2.8.