Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » Displaying a RichTextEditor in a popup
Displaying a RichTextEditor in a popup [message #589871] Thu, 10 July 2008 12:23
Aline is currently offline AlineFriend
Messages: 32
Registered: July 2009
Hi !

I want to offer a rich text editor for some properties in a EMF-like
editor. When the button "..." is pressed, a popup appears. I managed to
display a rich text editor but when I add the richtexttoolbar (with the
fillToolBar() method), it appears at the bottom :( Here is a part of my
code :

RichTextEditor rte = new RichTextEditor(parent, SWT.NONE,
IRichText rt = rte.getRichTextControl();
RichTextToolBar rttb = new RichTextToolBar(parent, SWT.NONE, rt);

In the API (v1.0), the RichTextEditor has only 2 parameters but in my
plugin (v1.2), there are 3. Can it come from this ?

Moreover, the richtext object is very small and I want it to fill the
popup dialog (horizontally). I thought this was due to the layout and the
layout data so I tried many combinaisons but it didn't work :(

Can anyone help me ?

Thanks in advance !!
Previous Topic:Search Feature for EPF 1.2
Next Topic:How to link Method Content to CMMi practices ?
Goto Forum:

Current Time: Tue Jan 25 03:32:54 GMT 2022

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

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

Back to the top