Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Open Web Page Designer(org.eclipse.jst.pagedesigner.PageDesignerEditor) in RCP app
Open Web Page Designer(org.eclipse.jst.pagedesigner.PageDesignerEditor) in RCP app [message #875824] Wed, 23 May 2012 11:45 Go to next message
Slawek L is currently offline Slawek LFriend
Messages: 21
Registered: May 2012
Junior Member
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)
Re: Open Web Page Designer(org.eclipse.jst.pagedesigner.PageDesignerEditor) in RCP app [message #876309 is a reply to message #875824] Thu, 24 May 2012 10:56 Go to previous message
Slawek L is currently offline Slawek LFriend
Messages: 21
Registered: May 2012
Junior Member
Ok, I found what was wrong. First parameter in IWorkbenchPage.pageEditor(IEditorInput,editorID) i put PathEditorInput, my stupid mistake.
Previous Topic:js editor templates - custom variable doesn't resolve
Next Topic:is using html tags in upper case bad
Goto Forum:
  


Current Time: Sat Apr 27 00:33:31 GMT 2024

Powered by FUDForum. Page generated in 0.03430 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top