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 name
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:Restore table column user settings
Next Topic:One Framework to bind them All ?!
Goto Forum:
  


Current Time: Thu Oct 23 08:42:31 GMT 2014

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

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