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] Wed, 22 May 2013 22:14
chang jiaqiang is currently offline chang jiaqiang
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: Wed Jul 23 04:12:00 EDT 2014

Powered by FUDForum. Page generated in 0.01498 seconds