From 1195eb525e324cb501434f370d2f50239168b873 Mon Sep 17 00:00:00 2001 From: Heiko Klare Date: Thu, 23 May 2024 15:40:49 +0200 Subject: [PATCH 1/2] Add N&N for auto-expand of single child elements in tree viewers See https://github.com/eclipse-platform/eclipse.platform.ui/pull/1072 --- news/4.32/platform_isv.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/news/4.32/platform_isv.html b/news/4.32/platform_isv.html index dce4412d5..0b539f549 100644 --- a/news/4.32/platform_isv.html +++ b/news/4.32/platform_isv.html @@ -38,6 +38,24 @@

Platform and Equinox API

Platform Changes

+ + + Auto-Expand for Single Child Elements in JFace Tree Viewers + +

+ The API method + org.eclipse.jface.viewers.AbstractTreeViewer.setAutoExpandOnSingleChildLevels(int level) was added to + JFace. If this method is called on a tree viewer with some positive value or the constant ALL_LEVELS, + expanding a tree item that only has a single child element will lead to a recursive expansion of child items. The + recursive expansion stops once an item has more than one child item or the number of expansions reaches the value + passed to the method. +

+

+ To ensure backwards compatibility, this feature is disabled by default. Each instantiation of a concrete + implementation of AbstractTreeViewer is responsible for enabling this feature if needed. +

+ + From 7667c9211dbfce44fa5fe4c6c86f9dd7d1ed741d Mon Sep 17 00:00:00 2001 From: Heiko Klare Date: Mon, 27 May 2024 12:15:37 +0200 Subject: [PATCH 2/2] Remove blank N&N SWT ISV documentation --- news/4.32/platform_isv.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/news/4.32/platform_isv.html b/news/4.32/platform_isv.html index 0b539f549..e54c057ed 100644 --- a/news/4.32/platform_isv.html +++ b/news/4.32/platform_isv.html @@ -24,7 +24,9 @@

Platform and Equinox API

@@ -59,9 +61,11 @@

Platform and Equinox API

+