[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Is there a Tree-Event before the selection actually changes?

Hi Manuel,

There isn't a pre-select event that can veto selections, so re-setting the
selection is the only way to do this.

Grant


"Manuel Steurer" <manuel.steurer@xxxxxxxxxxxxxxx> wrote in message
news:fr3i5i$ipg$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'd like to use an event that gets fired before the selection
> in a Tree changes with the option to abort the change.
> Is there something like this in SWT? Could I achieve the effect
> in another way? (without setting the selection programmatically back
> after the user changed it)
> I actually am using a JFace TreeViewer, so JFace solutions would be
> equally welcome.
>
> Thanks,
> Manuel
>
>
> -- 
>