|
Re: HTML editor inside a dialog? [message #524978 is a reply to message #524164] |
Mon, 05 April 2010 01:44 |
|
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
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.02561 seconds