SelectionListener for InlineFlow [message #157576] |
Wed, 10 November 2004 19:48 |
Eclipse User |
|
|
|
Originally posted by: mazloumi.uni-mannheim.de
Hi,
I need a selection listener for an InlineFlow class that I use. I user
should be able to select children inside. Does something like this
exists in draw2d?
Thanks,
Nima
|
|
|
Re: SelectionListener for InlineFlow [message #157584 is a reply to message #157576] |
Wed, 10 November 2004 20:31 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
What do you mean? Draw2d figures just paint, they don't have the concept of
selection. We just added setSelection to TextFlow, but the intent is to
render selection, not create a new figure "widget". What are you trying to
do?
"Nima Mazloumi" <mazloumi@uni-mannheim.de> wrote in message
news:cmtr94$eto$3@eclipse.org...
> Hi,
> I need a selection listener for an InlineFlow class that I use. I user
> should be able to select children inside. Does something like this
> exists in draw2d?
>
> Thanks,
> Nima
|
|
|
Re: SelectionListener for InlineFlow [message #157632 is a reply to message #157584] |
Thu, 11 November 2004 08:10 |
Eclipse User |
|
|
|
Originally posted by: mazloumi.uni-mannheim.de
Hi Randy,
I want to implement a simple WYSIWYG editor with draw2d. So the user
must be able to select a flow element and change font settings for that
element.
I have already added a toolbar with actions like bold, normal, italic,
left, center, right ... so what I need now is a way to figure out which
element is selected.
Any idea?
|
|
|
Powered by
FUDForum. Page generated in 0.02946 seconds