If I remember this correctly all 'Edit' actions on the XML multiviewed files should lead inside the Source editor of the file. Also the Source tab should be the first one in the multiview selection instead of the 'Design' one.
But the main issue I see in the Edit action which behaves identically to the action Open. BTW, there are now two actions leading to the same tab which is weird too now.
Steps to reproduce:
1, create any persistence.xml
2, right click on it
3, invoke Edit
-> Design view is opened in the editor (as well as by invoking 'Open' action)
I suppose it was done with purpose to have design tab as main (1st) to promote design tab usage.
But it may be the reason "Edit" do not show proper tab.
(In reply to Sergey Petrov from comment #1)
> I suppose it was done with purpose to have design tab as main (1st) to
> promote design tab usage.
Yes I believe that as well, but the concept of the first "Source" tab is probably newer (since the new multiview API appeared).
> But it may be the reason "Edit" do not show proper tab.
In any case this action should open the source view.