Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » tableviewer display control(tableviewer display ProgressBar control )
tableviewer display control [message #1060081] Thu, 23 May 2013 02:14
chang jiaqiang is currently offline chang jiaqiangFriend
Messages: 3
Registered: May 2013
Junior Member
hi,
I want to display a ProgressBar control in the table by using tableviewer,how can I do that? I konw if I don't use tableviewer I can code like this

Table table = new Table(shell, SWT.BORDER);
new TableColumn(table, SWT.NONE).setText("ProgressBar");
TableItem item = new TableItem(table, SWT.NONE);
ProgressBar bar = new ProgressBar(table, SWT.NONE);
TableEditor editor = new TableEditor(table);
editor.setEditor(bar, item, 0);

but if I use tableviewer I don't know how I can do that.

thanks
Previous Topic:display images with tableviewer
Next Topic:Re: Detecting keys while showing a context menu
Goto Forum:
  


Current Time: Thu Apr 25 06:25:05 GMT 2024

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

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

Back to the top