Here are some of the more noteworthy things available in the Photon milestone build M2
which is now available for download.
We also recommend to read the Tips and Tricks, either via Help > Tips and Tricks... or online for
Platform,
JDT, and
PDE.
Platform | |
Associate content type with a file name pattern |
From the Preferences > General > Content Types preference page, you can now
associate a content type with a file name pattern and use ? or * wildcards at any place in that pattern
(respectively to match any character or any string).
![]() |
Dark buttons on Mac |
The background color of a button can now be styled on the Mac. This is used to style the buttons in the dark theme.
|
Improved caret performance on GTK3 | Caret performance on the SWT GTK3 port has been enhanced to allow for smoother drawing. Previously the caret stuttered when moved or when other controls in the same shell were manipulated. Now the caret moves smoothly and blinks at a consistent rate. |
JDT | |
Improved Java syntax coloring in the dark theme |
To improve readability in the dark theme, bold style usage has been reduced and some colors that were too close to each other have been altered.
|
Eclipse support for JUnit 5 |
JUnit 5 support is now available in Eclipse. Try it out with Eclipse Photon (4.8) M2 build or
any of the available options from Eclipse Marketplace.
Note:
|
PDE | |
Source tab added to target definition editor |
Within the current default Target Definition Editor,
a 'Source' tab has been added which contains the Extension Based Text Editor's Target Definition Editor.
The editor is concurrent with the other tabs and the update made will be mirrored between the tabs.
![]() |
Platform Developers | |
Lambda as Listener | Listener interfaces in SWT
were enhanced to provide static helper methods that accept
lambdas and method references as listeners. These methods are alternatives to using Adapter classes.
|
Transparent color support on GTK3 | The SWT GTK3 port now includes support for transparent colors.
Previously, SWT Color on GTK only supported Red, Green and Blue (RGB) values
(all colors were opaque by default). Now, users can set alpha values to manipulate the transparency
property of SWT colors on GTK3.
The image below shows a red Canvas widget that is half transparent (alpha set to 0.5). ![]() |
Set Button background color on Mac |
Button.setBackground() can now set the background color for a Button on Mac.
|
Generic Editor aggregates hover from multiple sources |
The hover included in Generic Editor now aggregates the hover content from multiple
sources instead of picking only one.
This allows for example to contribute 3 distinct
hovers for Problem details, code documentation and Debug details via the
![]() Hovers that return |
CSS Engine upgraded to use Batik 1.9 instead of 1.8 |
The theme engine in Platform UI was upgraded to use Batik 1.9 instead of 1.8.
The following Orbit bundle changes happened:
No code change is needed to adopt to the migration. |
The above features are just the ones that are new since the previous milestone build. Summaries for earlier Photon milestone builds: