Bug 125370 - Need to make BidiUtil.isBidiPlatform() API
Summary: Need to make BidiUtil.isBidiPlatform() API
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, nl
Depends on:
Blocks: 119927
  Show dependency tree
 
Reported: 2006-01-26 14:09 EST by Tod Creasey CLA
Modified: 2006-04-04 12:51 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2006-01-26 14:09:38 EST
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.
Comment 1 Tod Creasey CLA 2006-01-26 14:34:50 EST
This is also related to Bug 82104
Comment 2 Mike Wilson CLA 2006-01-26 15:00:32 EST
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.
Comment 3 Karice McIntyre CLA 2006-02-05 10:39:10 EST
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.  
Comment 4 Tod Creasey CLA 2006-02-06 08:16:43 EST
Agreed Karice. Steve you can close this if you like.
Comment 5 Steve Northover CLA 2006-04-04 12:51:34 EDT
Ok.