Results 1 to 3 of 3
Thread: Jface Viewer help
- 10-19-2008, 07:23 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 1
- Rep Power
- 0
Jface Viewer help
Hi,
I,ve problem with jface table viewer.
I want to make table viewer. And information in this viewer I want to get from mysql table.
For example when i push some button it will create table viewer in the composite and the rows in this viewer will be getted from database table(every one row in the table must be showed in viewer)
Please if someone can help me....
It's very importnant to do it...
- 03-24-2009, 11:29 AM #2
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
If u just want to display the data the u can use table instead of table viewer.
- 04-22-2009, 11:28 PM #3
Member
- Join Date
- Apr 2009
- Posts
- 1
- Rep Power
- 0
Table vs TableViewer
Can you please provide an example of how you would set up a Table object to display items from a database? I am mainly interested in using domain objects, thus preventing multiple fetching.
Quote from SWT and JFace In Action:
"An issue to be aware of when using a
content provider is that it will always execute in the UI thread. This means updates to the interface will be waiting for your methods to complete, so you definitely shouldn’t query a database to get your updates. The content provider should traverse a graph of already-loaded domain objects to select the appropriate content to display."
Similar Threads
-
First JFace application
By Java Tip in forum SWTReplies: 0Last Post: 07-02-2008, 08:13 PM -
JFace Window
By Java Tip in forum SWTReplies: 0Last Post: 07-02-2008, 08:12 PM -
File Viewer in SWT
By Java Tip in forum SWTReplies: 0Last Post: 07-02-2008, 07:59 PM -
Jface + Gef
By Eric in forum Advanced JavaReplies: 1Last Post: 07-05-2007, 08:07 PM -
iSQL-Viewer 3.0.0
By levent in forum Java SoftwareReplies: 0Last Post: 06-04-2007, 08:06 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks