Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » SelectionListener for InlineFlow
SelectionListener for InlineFlow [message #157576] Wed, 10 November 2004 19:48 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Font Style
Next Topic:Filling particular area by using Graphics in Draw2D Figure
Goto Forum:
  


Current Time: Wed Feb 05 07:00:37 GMT 2025

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

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

Back to the top