Open Web Page Designer(org.eclipse.jst.pagedesigner.PageDesignerEditor) in RCP app [message #875824] |
Wed, 23 May 2012 07:45  |
Eclipse User |
|
|
|
Hello, I would like to create RCP application. Application should create/edit html pages and xml files. I made draft app, it means few view, menu and text editor. And now i found problem. How can I open Web Page Editor (org.eclipse.jst.pagedesigner.PageDesignerEditor) in my own RCP application? I have checkouted this plugin as eclipse project and add in plugin.xml dependency. I added in plugin.xml/extensions org.eclipse.ui.editor, create new editor (id and class same like in org.eclipse.jst.pagedesigner) and Open File from Command, and when call IWorkbenchPage.pageEditor(IEditorInput,editorID),where editorId is the same like above, eclipse shows org.eclipse.ui.PartInitException: Text editor does not have a document provider
Is my attempt generally correct?If not how use one plugin in other?(especially Web Page Editor)
|
|
|
|
Powered by
FUDForum. Page generated in 0.06197 seconds