Skip to content

Commit d7d4436

Browse files
committed
Provide an option to disable the search dialog via Strg-F on list and tables #1830
add SWT.NO_SEARCH flag used in Table, Tree and List to prevent the interactive search (popup) in a GTK environment when set to true.
1 parent da081e9 commit d7d4436

File tree

13 files changed

+140
-7
lines changed

13 files changed

+140
-7
lines changed

binaries/org.eclipse.swt.cocoa.macosx.aarch64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@
463463
<message_argument value="IE"/>
464464
</message_arguments>
465465
</filter>
466+
<filter id="336658481">
467+
<message_arguments>
468+
<message_argument value="org.eclipse.swt.SWT"/>
469+
<message_argument value="NO_SEARCH"/>
470+
</message_arguments>
471+
</filter>
472+
<filter id="1141899266">
473+
<message_arguments>
474+
<message_argument value="3.130"/>
475+
<message_argument value="3.129"/>
476+
<message_argument value="NO_SEARCH"/>
477+
</message_arguments>
478+
</filter>
466479
</resource>
467480
<resource path="META-INF/MANIFEST.MF">
468481
<filter id="926941240">

binaries/org.eclipse.swt.cocoa.macosx.x86_64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@
463463
<message_argument value="IE"/>
464464
</message_arguments>
465465
</filter>
466+
<filter id="336658481">
467+
<message_arguments>
468+
<message_argument value="org.eclipse.swt.SWT"/>
469+
<message_argument value="NO_SEARCH"/>
470+
</message_arguments>
471+
</filter>
472+
<filter id="1141899266">
473+
<message_arguments>
474+
<message_argument value="3.130"/>
475+
<message_argument value="3.129"/>
476+
<message_argument value="NO_SEARCH"/>
477+
</message_arguments>
478+
</filter>
466479
</resource>
467480
<resource path="META-INF/MANIFEST.MF">
468481
<filter id="926941240">

binaries/org.eclipse.swt.gtk.linux.aarch64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@
463463
<message_argument value="IE"/>
464464
</message_arguments>
465465
</filter>
466+
<filter id="336658481">
467+
<message_arguments>
468+
<message_argument value="org.eclipse.swt.SWT"/>
469+
<message_argument value="NO_SEARCH"/>
470+
</message_arguments>
471+
</filter>
472+
<filter id="1141899266">
473+
<message_arguments>
474+
<message_argument value="3.130"/>
475+
<message_argument value="3.129"/>
476+
<message_argument value="NO_SEARCH"/>
477+
</message_arguments>
478+
</filter>
466479
</resource>
467480
<resource path="META-INF/MANIFEST.MF">
468481
<filter id="926941240">

binaries/org.eclipse.swt.gtk.linux.loongarch64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@
463463
<message_argument value="IE"/>
464464
</message_arguments>
465465
</filter>
466+
<filter id="336658481">
467+
<message_arguments>
468+
<message_argument value="org.eclipse.swt.SWT"/>
469+
<message_argument value="NO_SEARCH"/>
470+
</message_arguments>
471+
</filter>
472+
<filter id="1141899266">
473+
<message_arguments>
474+
<message_argument value="3.130"/>
475+
<message_argument value="3.129"/>
476+
<message_argument value="NO_SEARCH"/>
477+
</message_arguments>
478+
</filter>
466479
</resource>
467480
<resource path="META-INF/MANIFEST.MF">
468481
<filter id="926941240">

binaries/org.eclipse.swt.gtk.linux.ppc64le/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@
463463
<message_argument value="IE"/>
464464
</message_arguments>
465465
</filter>
466+
<filter id="336658481">
467+
<message_arguments>
468+
<message_argument value="org.eclipse.swt.SWT"/>
469+
<message_argument value="NO_SEARCH"/>
470+
</message_arguments>
471+
</filter>
472+
<filter id="1141899266">
473+
<message_arguments>
474+
<message_argument value="3.130"/>
475+
<message_argument value="3.129"/>
476+
<message_argument value="NO_SEARCH"/>
477+
</message_arguments>
478+
</filter>
466479
</resource>
467480
<resource path="META-INF/MANIFEST.MF">
468481
<filter id="926941240">

binaries/org.eclipse.swt.gtk.linux.riscv64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,19 @@
463463
<message_argument value="IE"/>
464464
</message_arguments>
465465
</filter>
466+
<filter id="336658481">
467+
<message_arguments>
468+
<message_argument value="org.eclipse.swt.SWT"/>
469+
<message_argument value="NO_SEARCH"/>
470+
</message_arguments>
471+
</filter>
472+
<filter id="1141899266">
473+
<message_arguments>
474+
<message_argument value="3.130"/>
475+
<message_argument value="3.129"/>
476+
<message_argument value="NO_SEARCH"/>
477+
</message_arguments>
478+
</filter>
466479
</resource>
467480
<resource path="META-INF/MANIFEST.MF">
468481
<filter id="926941240">

binaries/org.eclipse.swt.gtk.linux.x86_64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@
1515
<message_argument value="IE"/>
1616
</message_arguments>
1717
</filter>
18+
<filter id="336658481">
19+
<message_arguments>
20+
<message_argument value="org.eclipse.swt.SWT"/>
21+
<message_argument value="NO_SEARCH"/>
22+
</message_arguments>
23+
</filter>
24+
<filter id="1141899266">
25+
<message_arguments>
26+
<message_argument value="3.130"/>
27+
<message_argument value="3.129"/>
28+
<message_argument value="NO_SEARCH"/>
29+
</message_arguments>
30+
</filter>
1831
</resource>
1932
<resource path="META-INF/MANIFEST.MF">
2033
<filter id="926941240">

binaries/org.eclipse.swt.win32.win32.aarch64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,19 @@
336336
<message_argument value="IE"/>
337337
</message_arguments>
338338
</filter>
339+
<filter id="336658481">
340+
<message_arguments>
341+
<message_argument value="org.eclipse.swt.SWT"/>
342+
<message_argument value="NO_SEARCH"/>
343+
</message_arguments>
344+
</filter>
345+
<filter id="1141899266">
346+
<message_arguments>
347+
<message_argument value="3.130"/>
348+
<message_argument value="3.129"/>
349+
<message_argument value="NO_SEARCH"/>
350+
</message_arguments>
351+
</filter>
339352
</resource>
340353
<resource path="Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java" type="org.eclipse.swt.ole.win32.OleControlSite">
341354
<filter id="643846161">

binaries/org.eclipse.swt.win32.win32.x86_64/.settings/.api_filters

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,19 @@
382382
<message_argument value="IE"/>
383383
</message_arguments>
384384
</filter>
385+
<filter id="336658481">
386+
<message_arguments>
387+
<message_argument value="org.eclipse.swt.SWT"/>
388+
<message_argument value="NO_SEARCH"/>
389+
</message_arguments>
390+
</filter>
391+
<filter id="1141899266">
392+
<message_arguments>
393+
<message_argument value="3.130"/>
394+
<message_argument value="3.129"/>
395+
<message_argument value="NO_SEARCH"/>
396+
</message_arguments>
397+
</filter>
385398
</resource>
386399
<resource path="Eclipse SWT/common/org/eclipse/swt/events/ArmListener.java" type="org.eclipse.swt.events.ArmListener">
387400
<filter id="576720909">

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,6 +1564,19 @@ public class SWT {
15641564
*/
15651565
public static final int SEARCH = 1 << 7;
15661566

1567+
/**
1568+
* Style constant for disabling GTK interactive search popup (value is 1&lt;&lt;10).
1569+
* <p><b>Used By:</b></p>
1570+
* <ul>
1571+
* <li><code>List</code></li>
1572+
* <li><code>Table</code></li>
1573+
* <li><code>Tree</code></li>
1574+
* </ul>
1575+
*
1576+
* @since 3.130
1577+
*/
1578+
public static final int NO_SEARCH = 1 << 10;
1579+
15671580
/**
15681581
* Style constant for simple (not drop down) behavior (value is 1&lt;&lt;6).
15691582
* <br>Note that this is a <em>HINT</em>.

0 commit comments

Comments
 (0)