Community
Participate
Working Groups
We need to be able to determine if the platform is bidi for rendering of paths in the platform. Currently BidiUtil.isBidiPlatform() has the functionality we need but it is internal.
This is also related to Bug 82104
The current thinking, based on interactions with bidi domain experts, is that there are many cases where fields that display structured content, such as file paths and Java package names, should always have the segments displayed left-to-right, with the content within each segment displayed using the correct reading direction for the locale. Having an API to detect whether Eclipse is currently running in "bidi mode" allows us to optimize when we have to decompose the content into segments and reconstruct it with the correct direction indicators.
I think the resolution for bug 126402 covers what we need to accomplish. Are there any other reasons we would need SWT to provide such an API? If not then this bug should be closed. The reason I say this is because after talking to Felipe, we learned the internal SWT method to check whether or not you are running in a Bidi locale is brittle when you consider platforms other than windows.
Agreed Karice. Steve you can close this if you like.
Ok.