Generating MouseEvents [message #459656] |
Tue, 05 December 2006 13:02 |
Eclipse User |
|
|
|
Originally posted by: h1.EDV-Ernst.de
Hello all,
I'm working on an RCP-Application with different Views
(WorkbenchPart). One View shows a list of PDF-Documentnames in a
org.eclipse.swt.widgets.Table, another one displays such a
PDF-Document via the SWT-BrowserWidget which uses the
Acrobat Browser Plugin to show PDFs.
The workflow is as follows:
- Click on a PDF-Name in the table
- Show the selected file in the Browser-View
- Move the focus back to the Table in order to select the next
document with the keyboard.
My problem now is:
When the Browser-Widget shows the PDF (setUrl(...)), this Widget gets
the focus and never gives it back.
No forceFocus, no setFocus gives the focus back to the Table. Now I
had the idea to generate a MouseEvent to do
a Click or Doubleclick on a TableRow per programm. I think I can
create such a MouseEvent however how can I send it
to my TableRow. Can I insert this event in an EventQueue or do I have
access to any EventTables? No idea.
Thanks
Rudi
|
|
|
Powered by
FUDForum. Page generated in 0.08486 seconds