使用eclipse rcp 开发要调用xml的编辑器
FileDialog dialog=new FileDialog(window.getShell(),SWT.NONE);
String filePath=dialog.open();
String editorID="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart";
FileEditorInput input=new FileEditorInput(filePath);
page.openEditor(input,editorID);
提示:PartInitException :Text editor does not have a document provider