Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-01-25Bug 559458 - Add Cursors section to ControlExample Colors tabNikita Nemkin1-6/+60
Not making a separate tab because there are too many already and cursors don't need much space. Change-Id: Iab087a95a6f8f4b404b7f1c1f6b0c4f0bfca4a82 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2020-01-10Use System.lineSeparator()Alexander Kurtakov1-1/+1
Benefit of this way rather than System.getProperty("line.separator") is that there are no security checks. Change-Id: I89bc3b8490f47498e161736a9ab5756fd88835a9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-12-11Use jdk 5 for-each loopCarsten Hammer7-18/+15
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Iea93040f03a56b0e16fef194e4e99f71954664a4 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-11Replace occurrences of manual array copying via for loopCarsten Hammer1-3/+1
Change-Id: I0675c6ee5ae32c2d21c9d4bd6129ad75d05d1e36 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-11Version increments for 4.15 streamKarsten Thoms7-7/+7
For changes: - https://git.eclipse.org/r/#/c/153220/ - https://git.eclipse.org/r/#/c/153221/ - https://git.eclipse.org/r/#/c/153223/ - https://git.eclipse.org/r/#/c/153224/ - https://git.eclipse.org/r/#/c/153438/ Change-Id: I2af5afbf55d2c51d5a8abc57e6cc4cce62a5c88b Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-12-11Use jdk 5 for-each loopCarsten Hammer44-144/+127
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: If19c53c97e5017842dd178828baaf05fd7852064 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-06Bug 553742 - POM and product version change for 4.15 releaseY20191208-2315I20191209-1110Niraj Modi5-5/+5
Change-Id: Ice53ce67b7f5db60093be040c43b552e59cae7f1 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-11-19Bug 349112 - Allow setting alignment on CCombo text fieldPaul Pazderski3-8/+26
Change-Id: Id8bd5ebbb452f8f345c54c405a311091600db319 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-10-17Move away of deprecated AbstractUIPlugin.getWorkbench.Alexander Kurtakov1-2/+3
Change-Id: Ib82a2e295e05f80244a21c898df180684d5a20df Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-09-25Bug 551438 - Fix files that have ended up with CRLF in the gitEd Merks2-170/+170
repository Change-Id: I0b73a52d66fc55656971ed0e78bd436d3e0bdecf Signed-off-by: Ed Merks <ed.merks@gmail.com>
2019-09-06Bug 550767 - POM and product version change for 4.14 releaseNiraj Modi5-5/+5
Change-Id: I5f4b86dce47eb22017d41072167fcd28e00e983a Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-07-05Using indexOf char instead of indexOf StringLars Vogel1-1/+1
See https://sourceforge.net/p/findbugs/feature-requests/300/#cb7f for a performance related discussion Change-Id: I255d2fa2b525281d9a6724aadbf85828236dbb30 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-28Enable search icon in SnippetExplorer's filter text fieldPaul Pazderski2-1/+1
Also update preview for Snippet 309 after improvement from Bug 293230. Change-Id: I8d103e67a8cae729cde5eaa12088d4f046563813 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-26Removes unsed import from FileViewerLars Vogel2-2/+12
Also sets unused import to error in the project settings. Change-Id: Ia0b87f84d94e86c1241566efc5ca2bcacba9b8f3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-25Using multi-catchLars Vogel2-30/+7
Change-Id: I3e6d10b933a4008797bd3d18efe7ce5cb98e16d9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-24Bug 474156 - Run API Tools builder in the Gerrit verification buildMickael Istria5-2/+10
Change-Id: I7e9f00f30fe69a610a59a16d697df43b74855723 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-06-20Bug 548191: [GTK] Add color constant for disabled background andEric Williams1-0/+2
foreground colors Define COLOR_WIDGET_DISABLED_FOREGROUND and COLOR_TEXT_DISABLED_BACKGROUND on GTK. Added an entry to ControlExample's ColorTab. Tested on GTK3.24 and Fedora 30. Change-Id: Id2c3686225c0aa557f4e243b2634b6e3785d4fce Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-06-19Bug 548320: [Mac] Add color constants for disabled background andLakshmi Shanmugam1-0/+4
foreground colors Initialize the new color constants. Update Snippet235. Change-Id: I898471760b16da6010d1aa124bb15d41641b57ad
2019-06-18Use String.contains instead of indexOfLars Vogel5-14/+14
Change-Id: Ib5e9ae7e066f809a0223299b5708462fcf6b66f9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-17StringBuilder instead of StringBufferLars Vogel1-2/+2
Change-Id: Ie88ea44706483cbe2d1004ca201c38c3213dc5cf Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-174.13 update for org.eclipse.swt.examples.browser.demosLars Vogel2-2/+2
Required for https://git.eclipse.org/r/c/144220/ Change-Id: If91ee7f616543593529855e4b154704cf78d36e7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-14Bug 547304 - [cleanup] Fix wrong space/tab indentationPaul Pazderski63-820/+820
This change fixes space or mixed tab/space indentations in all Java files. This also includes two or three space indentations and even fix most stray single spaces in indentations. The change includes only whitespace formatting and no code changes. Change-Id: Ib7b260691acee06845cc580dd8cb859de0da8bf1
2019-06-144.13 version updates ofPaul Pazderski6-6/+6
org.eclipse.swt.examples org.eclipse.swt.examples.launcher org.eclipse.swt.examples.ole.win32 Required for https://git.eclipse.org/r/142399 Change-Id: I0a7483d7cee3afe10e719e51e7568c9292f55094
2019-06-14Stop using deprecated number constructors.Alexander Kurtakov1-4/+4
Change-Id: I2e5be7b507b5e0363c4be900bba6b1d716c0b170 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-10Bug 547935 - [Snippets] Add preview image for SWT SnippetsPaul Pazderski330-0/+0
Change-Id: Iafe47c1c1174a5658e6f789cab94e525db1df15d Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-10Bug 547938 - [Snippets] Add recommendations to Snippet ReadmePaul Pazderski1-0/+19
Change-Id: I72e8edb930817c26f9b010d331691f3fe54c5624 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-10Bug 547934 - [Snippets] Add SnippetExplorer to filter and launch SWTPaul Pazderski3-6/+1275
Snippets Change-Id: I47d96bf18e94b8c318e3f00a32b5af24a452989a Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-10Bug 547937 - [Snippets] Update OpenGL Snippets for current libraryPaul Pazderski3-57/+52
versions The OpenGL Snippets are not usable with latest versions of lwjgl or jogamp due to changes or feature removal in those libraries. Change-Id: Ifec7e059a1558b669866116eee37973fabd290de Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-10Bug 547936 - [Snippets] Every Snippet should set a window titlePaul Pazderski303-133/+435
Without title it is unnecessary hard to distinguish multiple running Snippets. Change-Id: I7503399d9a3289c16051fc4203d182fb9fb5555f Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-07Bug 547907 - POM and product version change for 4.13 releaseNiraj Modi5-5/+5
Change-Id: I96194ef478ccae3e950a26ac5a4a04937ee1fc9e Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-06-05Bug 547938 - [Snippets] Move mouse over test Shell before startingPaul Pazderski1-0/+9
automated mouse scroll Some systems scroll the focused element independent of mouse position. Other scroll what's under the mouse cursor regardless of the focused element. Change-Id: I6aae5c8991c6120ad7ee8b7234b27d0080c48c8d Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-05Bug 547938 - [Snippets] End daemon threads properly and do not rely onlyPaul Pazderski2-5/+11
on there daemon trait Change-Id: Iee3f9d609166852a26cc8532a131279cd6e91e05 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-05Bug 547938 - [Snippets] Use empty Shell for Snippet explanationPaul Pazderski1-0/+4
Change-Id: I7d0b4ad70fff72798213ad570f06785e1d49e73c Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-05Bug 547938 - [Snippets] Snippet13: do paint in paint listenerPaul Pazderski1-13/+14
The single paint operation after open is even for a Snippet to simple and a bad example. Furthermore the Snippet does not work on GTK at the moment. Change-Id: Ia77b52376e208db0865c7c4a3d97ac7c48c9eb88 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-05Bug 547938 - [Snippets] Make Snippets reusable without class reloadPaul Pazderski2-5/+7
Some Snippets initialize Display and/or Shell on class initialization. SnippetLauncher and especially SnippetExplorer may launch Snippets more than once without reinitializing the class. Therefore the Display and/or Shell is already disposed on the second launch. Change-Id: I662b27e656c2b439dd8f860dd04b370046f71a82 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-04Bug 547938 - [Snippets] should not use System.exitPaul Pazderski2-5/+32
A Snippet calling System.exit will also exit the SnippetLauncher or the SnippetExplorer (depending on selected runner).
2019-05-19Bug 547304 - [cleanup] Fix wrong line delimitersPaul Pazderski7-921/+921
This updates all Java files with wrong or mixed line delimiters to use Unix style delimiters. The change includes only whitespace formatting and no code changes. Change-Id: I4cf29fcedaaa5ee7efc0fb68e6b22aecb17812ce
2019-04-24Bug 475833: Delete TableTree and related itemsLars Vogel1-3/+2
Change-Id: I0811d7d0ae7e449adf85d031d3eaa2ef143ed5c6 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-04-23Version 4.12 update for org.eclipse.swt.examplesLars Vogel2-3/+3
Required for Bug 475833. Change-Id: Ib8a07acdb6096f04b6814996a560e558cb4bea38 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-04-16Bug 545884 - [Win32] Remove TCHAR string wrapper (Part 1)Nikita Nemkin1-3/+2
Replace TCHARs that are used as fixed-size buffers with plain char[] arrays of the same size. Change-Id: Ic54bafb4e865dff62de67a0efefc6020aa5349f3 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseNiraj Modi5-5/+5
Change-Id: Iefa1a6b83bab0f3875b20bfc8975e4274d166b05 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-03-05Bug 544658 (Part 2) - Update SWT Examples for StyledText's MouseNiraj Modi1-10/+11
Navigation - Fixed CoolItem size issue as seen on MAC. Change-Id: I2d45329453ceb4ce38aeee814ccc889bfe721b11 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-02-25Bug 544658 - Update SWT Examples for StyledText's Mouse NavigationNiraj Modi4-3/+32
- Updated CustomControlExample.java and TextEditor.java classes Change-Id: Ifba21e62edd5d25219cfb82537f7b3217bcc19e6 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-02-14Bug 542777 - Mouse Navigation for Styled TextLaurent Caron1-0/+126
Change-Id: I5d232eb60ef05ec5337f586a6bd0ffbb13a69805 Signed-off-by: Laurent CARON <laurent.caron@gmail.com>
2019-02-08Bug 472417 - Typo in examples_texteditor.propertiesAlexander Kurtakov3-4/+4
Fix typo. Change-Id: I45160685a2197f112adb99d426dad67f58538f23 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-07Bug 541822 - POM and product version change for 4.11 releaseAlexander Kurtakov5-5/+5
Change-Id: I8454243e87078b718102ce58702c08fe8f9f163c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-21Bug 541356 - [HiDPI] Fix ImageDataProvider and FileDataProviderNiraj Modi1-3/+7
implementations in Snippet367 Change-Id: I4735b27a595fb357df48728326172b016024f725 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-11-19Bug 540809 - Wait for shell in Snippet146Xi Yan1-0/+5
Change-Id: Ie7aaf40df7f56b6c323aa88df37a8c04feb8277e Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-11-16Bug 539618 - [StyledText] Allow to define a top margin for a given lineangelozerr1-0/+50
or range Change-Id: Ia3febd7de810c8fed7b75794d43c6e120523c87d Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-10-18Bug 267981 - SWT.Border Checkbox not working in ControlExample for theXi Yan9-9/+11
DateTime Widget Reverting border-related changes as per comment 6. Bump version to 3.106.300 for SWT examples. Change-Id: I5dbe39b06ecb1d6277dd445639b508d6cf3140ca Signed-off-by: Xi Yan <xixiyan@redhat.com>

Back to the top