Skip to main content

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

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
--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers

Back to the top