Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » ElementListSelectionDialog (No Empty Message in ElementListSelectionDialog )
ElementListSelectionDialog [message #545210] Wed, 07 July 2010 07:38
budili Missing name is currently offline budili Missing nameFriend
Messages: 64
Registered: May 2010

i have used the ElementListSelectionDialog in my application and i am fascinated of all the dialogs from jface package.

But i have one problem with the ElementListSelectionDialog, i set the EmptyListMessage. If i put an empty list to my dialog,
i dont see my message. The Ok-button is disabled an die list is also disabled, but without my defined text.
Heres the code:
final ElementListSelectionDialog dialog = new ElementListSelectionDialog(getShell(), new LabelProvider());
        dialog.setTitle("My Title");
        dialog.setMessage("Please select something:");
        dialog.setEmptyListMessage("Empty List!");

Whats wrong here?
Previous Topic:Restore table column user settings
Next Topic:One Framework to bind them All ?!
Goto Forum:

Current Time: Fri Oct 09 01:34:36 GMT 2015

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

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