Community
Participate
Working Groups
I have extended the Common Navigator. Its labelProvider implements IColorProvider. I have to populate the server status in the tree.The tree changes the image and text according to the server Status (say connected and disconnected). When the server is in disconnected state, I make the color of the server (foreground color) as red. But this color change is not reflected in the tree after refreshing for the first time ..It refreshes randomly.I use TreeViewer.refresh(element,true) I am using eclise 3.2.1 WTP Build id: M20060921-0945 to develop RCP application. I also went through a bug posted in the http://bugs.eclipse.org https://bugs.eclipse.org/bugs/show_bug.cgi?id=125575 The status of the bug says fixed , but I find problems.The color is not refreshed in the same flow as in the case of Image and text .
Could you provide an isolated test case that shows the problem (a JUnit test would be best). Do you see the same behavior with update(<server>) ?
Can you try this in 3.5M5? There have been several fixes in this area that might have fixed this.
*** This bug has been marked as a duplicate of bug 261147 ***