[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: SelectionTool - something like a "selection changed" event/request?

Hi,

thanks to all (and Randy's reply on my earlier post). I have also found setSelected and proceeded to use it, although I was a bit uncomfortable with the idea. A SelectionEditPolicy seems to be the proper answer then - I have looked for it and could not find it though :-), so I will revisit the issue.

-i

Pratik Shah wrote:
You should have a SelectionEditPolicy installed on the EditPart (which you
probably already have) and should override its showSelection() and
hideSelection() methods.