diff --git a/code/widgets/org.eclipse.scout.widgets.client/src/main/java/org/eclipse/scout/widgets/client/ui/forms/SmartFieldForm.java b/code/widgets/org.eclipse.scout.widgets.client/src/main/java/org/eclipse/scout/widgets/client/ui/forms/SmartFieldForm.java index 199c7393110..1db692f2682 100644 --- a/code/widgets/org.eclipse.scout.widgets.client/src/main/java/org/eclipse/scout/widgets/client/ui/forms/SmartFieldForm.java +++ b/code/widgets/org.eclipse.scout.widgets.client/src/main/java/org/eclipse/scout/widgets/client/ui/forms/SmartFieldForm.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2025 BSI Business Systems Integration AG + * Copyright (c) 2010, 2026 BSI Business Systems Integration AG * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 @@ -19,7 +19,6 @@ import org.eclipse.scout.rt.client.context.ClientRunContexts; import org.eclipse.scout.rt.client.job.ModelJobs; -import org.eclipse.scout.rt.client.session.ClientSessionProvider; import org.eclipse.scout.rt.client.ui.action.menu.AbstractMenu; import org.eclipse.scout.rt.client.ui.action.menu.IMenu; import org.eclipse.scout.rt.client.ui.action.menu.IMenuType; @@ -1142,35 +1141,6 @@ protected String getConfiguredText() { return TEXTS.get("Wildcard"); } - @Order(10) - @ClassId("b1a5915f-dabe-4ef7-9241-c541ff1ce6d8") - public class AutoPrefixWildcardMenu extends AbstractMenu { - - private boolean m_active; - - @Override - protected void execInitAction() { - m_active = ClientSessionProvider.currentSession().getDesktop().isAutoPrefixWildcardForTextSearch(); - updateText(); - } - - @Override - protected String getConfiguredText() { - return TEXTS.get("EnableAutoPrefixWildcard"); - } - - @Override - protected void execAction() { - m_active = !m_active; - ClientSessionProvider.currentSession().getDesktop().setAutoPrefixWildcardForTextSearch(m_active); - updateText(); - } - - protected void updateText() { - setText(TEXTS.get(m_active ? "DisableAutoPrefixWildcard" : "EnableAutoPrefixWildcard")); - } - } - @Order(20) @ClassId("83f6de02-6b5f-4f7b-84f5-c506b3bd78a7") public class ChangeWildcard1Menu extends AbstractMenu { diff --git a/code/widgets/org.eclipse.scout.widgets.shared/src/main/resources/org/eclipse/scout/widgets/shared/texts/Texts.properties b/code/widgets/org.eclipse.scout.widgets.shared/src/main/resources/org/eclipse/scout/widgets/shared/texts/Texts.properties index f8ea7cd4de9..5a4d5f161fc 100644 --- a/code/widgets/org.eclipse.scout.widgets.shared/src/main/resources/org/eclipse/scout/widgets/shared/texts/Texts.properties +++ b/code/widgets/org.eclipse.scout.widgets.shared/src/main/resources/org/eclipse/scout/widgets/shared/texts/Texts.properties @@ -1,5 +1,5 @@ # -# Copyright (c) 2010, 2023 BSI Business Systems Integration AG +# Copyright (c) 2010, 2026 BSI Business Systems Integration AG # # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 @@ -152,7 +152,6 @@ DetailsMenuMessage=The value of the selected entry is {0} and the display text i Dimension=Dimension Directory=Directory Disable=Disable -DisableAutoPrefixWildcard=Disable AutoPrefixWildcard Disabled=Disabled DisabledRows=Disabled rows DisplayHint=Display Hint @@ -175,7 +174,6 @@ Employees=Employees Empty=Empty Enable=Enable EnableActiveFilter=Enable active filter -EnableAutoPrefixWildcard=Enable AutoPrefixWildcard EnteredUrlInvalid=The entered URL is not valid, or missing the schema (Example\: https\://). EventType=Event Type EventTypes=Event types diff --git a/docs/modules/migration/partials/migration-guide-26.2.adoc b/docs/modules/migration/partials/migration-guide-26.2.adoc index 73909e3e9cb..5407a3bd961 100644 --- a/docs/modules/migration/partials/migration-guide-26.2.adoc +++ b/docs/modules/migration/partials/migration-guide-26.2.adoc @@ -81,15 +81,6 @@ To install the Scout SDK into your existing Eclipse IDE, use this P2 update site // ---------------------------------------------------------------------------- -== New Build & Runtime Requirements - -Scout 26.2 requires at least the following: - -* Build and runtime of Scout 26.2 require Java 25. The compiler target level is set to Java 21. -* Furthermore, the build requires -** Node: >= 24.12.0 -** Pnpm: >= 10.26.1 - == REST operations: Add Consumes annotation It is recommended that all REST operations which consume a request entity body message have a `Consumes` annotation set to restrict invalid input. @@ -105,3 +96,10 @@ While Jersey, the implementation we use, does attempt to locate a `@Path` annota To ensure compliance, a test has been introduced that fails if any REST resource is missing a `@Path` annotation. To activate this validation for your module, extend the `AbstractRestResourceAnnotationTest` class accordingly. + +== Removal of autoPrefixWildcardForTextSearch on Desktop + +The methods `isAutoPrefixWildcardForTextSearch` and `setAutoPrefixWildcardForTextSearch` on `IDesktop` have been removed. +They have not been used since years and were never supported in Scout JS. + +If you need a prefix wildcard, add it to your search texts manually where required.