Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » addFocusTracker for a Composite.
addFocusTracker for a Composite. [message #493841] Wed, 28 October 2009 09:13 Go to next message
Neha is currently offline NehaFriend
Messages: 52
Registered: July 2009
Member
Hi ,
Is it possible to us IFocusService for a composite?
In my application i have a composite on whch a table is placed the table is
already having a focus tracker added.
Now I want to add the focustracker to the parent composite using
IFocusService and also retain the focus tracker on the table at the same
time. Is that possible ?
Please do let me Know

Thanks in Advance!
Neha
Re: addFocusTracker for a Composite. [message #493999 is a reply to message #493841] Wed, 28 October 2009 17:17 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

AFAIK as long as the composite has children, it asks a child to take focus.

In other parts of eclipse we often track SWT.Activate events (the entire parent chain will get an activate event when a control is selected). But the IFocusService doesn't look at activate, only focus (since there can only be one control in focus at a time).

PW


Previous Topic:How to contribute a new command into a sub-context menu?
Next Topic:Trouble with threadsafe Databinding
Goto Forum:
  


Current Time: Fri Apr 26 14:35:54 GMT 2024

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

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

Back to the top