Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Generating MouseEvents
Generating MouseEvents [message #459656] Tue, 05 December 2006 13:02
Eclipse UserFriend
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
Previous Topic:NoClassDefFoundError
Next Topic:Question about save
Goto Forum:
  


Current Time: Tue Mar 25 03:06:36 EDT 2025

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

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

Back to the top