Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Focus handling in RAP different to RCP?
Focus handling in RAP different to RCP? [message #1762524] Fri, 12 May 2017 03:18 Go to next message
Manuel Mall is currently offline Manuel MallFriend
Messages: 25
Registered: September 2015
Junior Member

we have a toolbar command whose active state is controlled via a handler in our RCP application like this:


So the command is active (enabled) when the activeFocusControl is a Grid. We do register the relevant Grid(s) via the IFocusService. This all works fine under RCP. However, under RAP it appears that clicking on the toolbar icon linked to this command changes the focus to the toolbar. Therefore the command becomes disabled the moment its clicked making it unusable.

Even if we remove this handler and have the command permanently active we have essentially the same problem. In the commands handler we look for the active focus control and we get the Toolbar in RAP while in RCP we get the Grid.

Re: Focus handling in RAP different to RCP? [message #1763390 is a reply to message #1762524] Mon, 15 May 2017 07:35 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
please open a bugzilla and attach a simple project to demonstrate the issue.
Re: Focus handling in RAP different to RCP? [message #1767754 is a reply to message #1763390] Mon, 10 July 2017 16:22 Go to previous message
Nicola  Zanaga is currently offline Nicola ZanagaFriend
Messages: 55
Registered: July 2009
Hello, maybe this could be related to :
Previous Topic:[ANN] RAP 3.2 released today
Next Topic:How to generate artifical mouse events?
Goto Forum:

Current Time: Sun Oct 24 01:35:18 GMT 2021

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

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

Back to the top