|
|
|
Re: Hide lements in a TreeSelectorDialog [message #1647229 is a reply to message #1647005] |
Tue, 03 March 2015 10:14 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Patrik,
I'm not sure in which context you are using the dialog; but the Dialog takes a ContentProvider as a parameter. This ContentProvider is then used to populate the TreeViewer. At this point, the method IContentProvider#inputChanged(Viewer, Object, Object) is called, so you can get access to the Viewer there (provided that you can implement/override the ContentProvider). That's how the filter is implemented in e.g. the WorkspaceContentProvider (Which adds a filter for file extensions)
HTH,
Camille
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.03094 seconds