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
Eclipse UserFriend
It might be easier to use a different dialog class, like ListDialog?
Previous Topic:How to change default sorting of ElementListSelectionDialog
Next Topic:Trigger multivalidator in AggregateValidationStatus changelistener
Goto Forum:
  


Current Time: Fri Apr 19 20:54:18 GMT 2024

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

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

Back to the top