Skip to main content


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
Member
Hello,

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.setMultipleSelection(false);
        dialog.setEmptyListMessage("Empty List!");
        dialog.setElements(null);


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: Thu Apr 25 23:27:23 GMT 2024

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

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

Back to the top