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 05:13 Go to next message
Neha is currently offline Neha
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 13:17 Go to previous message
Paul Webster is currently offline Paul Webster
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 Aug 22 04:05:08 EDT 2014

Powered by FUDForum. Page generated in 0.08833 seconds