It seems like OpenMappingFileAction may not work if IDE use it's own editor to open xml files.
Need to update getting IDocument from the editor.