Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » adding multiple columns in ListSelectionDialog(How to add multiple columns in ListSelectionDialog in eclipse?)
adding multiple columns in ListSelectionDialog [message #779044] Sat, 14 January 2012 14:03
Noopur Gupta is currently offline Noopur GuptaFriend
Messages: 2
Registered: January 2012
Junior Member
I am creating a dialog by extending org.eclipse.ui.dialogs.ListSelectionDialog

While overriding createDialogArea(Composite parent) if I call super.createDialogArea(parent) and create 3 columns in the table viewer, the columnCount of org.eclipse.swt.widgets.Table is set to 1 by default. Hence, the labelprovider's getText() is called only for column with index 0 and I don't get text in other 2 columns.

How can I create/add multiple columns in createDialogArea(Composite parent) so that it works correctly?
Previous Topic:[databinding] Whats is the minimum to bind a custom model
Next Topic:How to display a button in SWT tableviewer using LabelProvider/ContentProvider
Goto Forum:
  


Current Time: Fri Apr 19 10:23:58 GMT 2024

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

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

Back to the top