Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » HTML editor inside a dialog?
HTML editor inside a dialog? [message #524164] Tue, 30 March 2010 21:37 Go to next message
Eclipse UserFriend
The WTP project has a nice html editor, and I want to use this editor inside my view or dialog. Can anyone give me some hint about how to implement it?

I had tried to use the StructuredTextViewer, unfortunately, the StructuredTextViewer is not a public API. Is there any plan to expose this in future release?

Thanks
-chengdong
Re: HTML editor inside a dialog? [message #524978 is a reply to message #524164] Sun, 04 April 2010 21:44 Go to previous message
Eclipse UserFriend
On 3/30/2010 9:37 PM, chengdong wrote:
> The WTP project has a nice html editor, and I want to use this editor
> inside my view or dialog. Can anyone give me some hint about how to
> implement it?
>
> I had tried to use the StructuredTextViewer, unfortunately, the
> StructuredTextViewer is not a public API. Is there any plan to expose
> this in future release?

No, as it was always intended to be a lean extension to the standard
source viewer. You should see how far you can get with code similar to
org.eclipse.wst.html.ui.internal.preferences.ui.HTMLTemplate PreferencePage#doCreateViewer(Composite,
SourceViewerConfiguration) , but with a ProjectionViewer. The
functionality is intended to degrade gracefully if needed.

--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
Previous Topic:No SQL Scrapbook Page
Next Topic:Can I link a dynamic web project source and output folders to external directories ?
Goto Forum:
  


Current Time: Thu Jul 03 17:38:27 EDT 2025

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

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

Back to the top