[SOLVED]CheckedTreeSelectionDialog and ICheckStateProvider issue [message #647569] |
Fri, 07 January 2011 05:57 |
Carusyte Missing name Messages: 27 Registered: July 2009 |
Junior Member |
|
|
I am making a dialog that mimics the DirectoryDialog functionality but limits the user selection within a certain folder (which the setFilterPath(String) method in DirectoryDialog cannot realize) and provides multiple selection capability. Besides, I want to display a certain directory as "checked" when the dialog is opened, and I am trying to realize this by injecting ICheckStateProvider in the viewer created by CheckedTreeSelectionDialog (overriding the createViewer() method).
Here comes the problem: while I am 100% assured that the isChecked(Object) returns true when this method is invoked with the root element as its parameter, the element in the viewer still appears as unchecked, and when I test with other elements they are displayed correctly. That's weird, is this a bug somehow? I can't google any results related to this issue elsewhere.
[Updated on: Wed, 26 January 2011 07:59] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03148 seconds