diff --git a/org.eclipse.wb.doc.user/html-src/whatsnew/v125.asciidoc b/org.eclipse.wb.doc.user/html-src/whatsnew/v125.asciidoc index d6d568add..a3608f200 100644 --- a/org.eclipse.wb.doc.user/html-src/whatsnew/v125.asciidoc +++ b/org.eclipse.wb.doc.user/html-src/whatsnew/v125.asciidoc @@ -4,6 +4,11 @@ endif::[] = What's New - v1.25.0 +== SWT + +- Deprecation of `IPageLayout.editorReuseThreshold`. The corresponding method has been deprecated in 2023 and removed + with the 2026-09 release. Support for this property will be fully removed after the 2028-09 release. + == General - [Linux] Wayland Support for SWT Designer diff --git a/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java b/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java index 53595c271..24fea3c95 100644 --- a/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java +++ b/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java @@ -80,7 +80,8 @@ public IDescriptionVersionsProvider getProvider(IJavaProject javaProject, ClassL "4.7", "4.8", "4.9", - "4.10"); + "4.10", + "4.11"); return new FromListDescriptionVersionsProvider(allVersions, version) { @Override protected boolean validate(Class componentClass) throws Exception { @@ -116,6 +117,9 @@ private static int getMinorVersion(int version) { // between 4.965 and 4.972 then we can't distinguish between them (as both have // version 4.9). Instead we have to manually bump the minor version whenever // there is a "breaking" change. - return 10; + if (version < 4973) { + return 10; + } + return 11; } } diff --git a/org.eclipse.wb.rcp/wbp-meta/.wbp-cache-presentations b/org.eclipse.wb.rcp/wbp-meta/.wbp-cache-presentations index 0defb0772..987cc4d6b 100644 --- a/org.eclipse.wb.rcp/wbp-meta/.wbp-cache-presentations +++ b/org.eclipse.wb.rcp/wbp-meta/.wbp-cache-presentations @@ -1 +1 @@ -eae7febf256316fb292d9b162e51d17d \ No newline at end of file +c696a118dadb424fbe3b5b287eb42106 \ No newline at end of file diff --git a/org.eclipse.wb.rcp/wbp-meta/org/eclipse/ui/IPageLayout.wbp-component.xml b/org.eclipse.wb.rcp/wbp-meta/org/eclipse/ui/IPageLayout.wbp-component.xml index c60ecb3f4..64e23b66f 100644 --- a/org.eclipse.wb.rcp/wbp-meta/org/eclipse/ui/IPageLayout.wbp-component.xml +++ b/org.eclipse.wb.rcp/wbp-meta/org/eclipse/ui/IPageLayout.wbp-component.xml @@ -52,7 +52,6 @@ - diff --git a/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/rcp/model/rcp/PageLayoutTest.java b/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/rcp/model/rcp/PageLayoutTest.java index b5cbd56e5..24c602fde 100644 --- a/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/rcp/model/rcp/PageLayoutTest.java +++ b/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/rcp/model/rcp/PageLayoutTest.java @@ -295,10 +295,6 @@ public void test_properties() throws Exception { assertNotNull(property); assertTrue((Boolean) property.getValue()); } - { - Property property = page.getPropertyByTitle("editorReuseThreshold"); - assertNotNull(property); - } { Property property = page.getPropertyByTitle("fixed"); assertNotNull(property);