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:One Framework to bind them All ?!
Next Topic:master detail databinding and conflicting interests in designing the equals method
Goto Forum:

Current Time: Tue Apr 24 08:33:11 GMT 2018

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

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