Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to remove the default the Filter Text Box from ElementListSelectionDialog (How to remove the default the Filter Text Box from ElementListSelectionDialog )
How to remove the default the Filter Text Box from ElementListSelectionDialog [message #1773312] Tue, 26 September 2017 11:41 Go to next message
Suresh P is currently offline Suresh PFriend
Messages: 27
Registered: May 2013
Junior Member

HI,

Im using Eclipse Oxygen for custom plugin development.

I am using the JFace Dialog 'ElementListSelectionDialog', to display list of items. From this dialog I need to remove the default Filter TextBox that is getting displayed.

Can you let me know how to remove this Filter Text Box for this Dialog?

ElementListSelectionDialog dialog = new ElementListSelectionDialog(shell, new LabelProvider());
		dialog.setTitle("Select SCM Provider");
		dialog.setMessage("Select the SCM Provider for this project");
		Object[] unsortedList = new Object[] {  "GitHub", "RTC", "SVN","Others" };		
		dialog.setElements(unsortedList);
                dialog.open();



Regards
Suresh
Re: How to remove the default the Filter Text Box from ElementListSelectionDialog [message #1773321 is a reply to message #1773312] Tue, 26 September 2017 13:08 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 786
Registered: January 2012
Senior Member

It might be easier to use a different dialog class, like ListDialog?

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:How to change default sorting of ElementListSelectionDialog
Next Topic:Trigger multivalidator in AggregateValidationStatus changelistener
Goto Forum:
  


Current Time: Wed Nov 14 18:07:30 GMT 2018

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

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

Back to the top