Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Creating a Multi-Page Editor with HTML preview(Creating a Multi-Page Editor with HTML preview)
Creating a Multi-Page Editor with HTML preview [message #557713] Wed, 08 September 2010 11:15 Go to next message
Kevin Kelley is currently offline Kevin Kelley
Messages: 1
Registered: September 2010
Junior Member
I'm looking to create a multi-page editor. One of the tabs will render an HTML preview (this is not an HTML editor). My search hasn't turned up any viable resources yet. If anyone has any pointers or knows of any resources I can check out, I would greatly appreciate it.
Re: Creating a Multi-Page Editor with HTML preview [message #557720 is a reply to message #557713] Wed, 08 September 2010 11:22 Go to previous message
eshvar60  is currently offline eshvar60
Messages: 51
Registered: March 2010
Member
I suggest you look at the FormEditor in ui.forms.editor.

It extends the MultiPageEditorPart and contains support for multiple pages. So one page(a tab) will show the html code and the other one will show the preview.

I REALLY recommend you check out the code for drools here: http://www.jboss.org/drools/subversion.html

you will need to check out the project called drools-eclipse(I think). Inside it you will find a class called RuleEditor which extends the FormEditor and is a great example.

Let me know if you need more help! The project example should be a huge help!
Previous Topic:Helios RPC problem with p2 self-update
Next Topic:earlyStartUp method - disable tool bar icon
Goto Forum:
  


Current Time: Wed Apr 16 20:49:54 EDT 2014

Powered by FUDForum. Page generated in 0.01739 seconds