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
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.

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

Current Time: Thu Jun 21 04:46:28 GMT 2018

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

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

Back to the top