Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Check if RCP App is in right-to-left mode?(Is there a way to properly check for rtl parameter?)
Check if RCP App is in right-to-left mode? [message #1428730] Mon, 22 September 2014 08:51 Go to next message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
Registered: July 2012
Senior Member
I created a widdget which should position shells properly in rtl mode.

Is there a way to ask the platform for the orientation which it's started in?

I only found some related code in WorkbenchPlugin, but it's methods a private.
Re: Check if RCP App is in right-to-left mode? [message #1428927 is a reply to message #1428730] Mon, 22 September 2014 14:54 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

It looks like the JFace BidiUtils provides some support for querying the state, but from what I could see everything really comes down to checking JFace's Window#getDefaultOrientation().

Previous Topic:EMF: Reuse existing Model
Next Topic:change main menu after opening a file
Goto Forum:

Current Time: Sat Feb 27 10:54:19 GMT 2021

Powered by FUDForum. Page generated in 0.02454 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top