Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] How to be informed of root TreeItem addition?

There are other places, too, where - compared with Swing - SWT lacks events, e.g. if a controls becomes disabled. We have solved this in our applications by hiding the control behind a facade and sending the events ourselves.

--
Thomas Singer


On 28/11/2019 11:46, Mickael Istria wrote:
Hi all,

In the context of https://bugs.eclipse.org/bugs/show_bug.cgi?id=553353 ,
we'd like to be able to react to Tree emptiness or non-emptiness. Eike and
I have tried different patches, but none of us could find an event to be
informed of TreeItem addition to the root of the tree (deletion can be
detected by Dispose, but there is no counter-part for addition).
Is anyone aware of a trick to be notified when something is added in the
Tree?
If not, would an enhancement request about a new type of event
SWT.ItemAdded and related listeners make sense?

Thanks in advance


_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev



Back to the top