Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace TreeViewer refresh problem (child nodes not getting updated after calling refresh() method)
JFace TreeViewer refresh problem [message #927929] Sun, 30 September 2012 01:38
Rameshwar Nagpure is currently offline Rameshwar Nagpure
Messages: 5
Registered: September 2012
Junior Member
Hi,
i want to display parent and child elements using JFace TreeViewer.
When I am displaying parent and child all at once, its working fine.
But it want the child to be added only after expanding the parent element.

The refresh() method is working fine when
 

ISelectionChangedListener.selectionChanged() 
method is called,

but gives error on calling TreeListener.treeExpanded() method
treeStatute.addTreeListener(new ITreeViewerListener() {			
			@Override
			public void treeExpanded(TreeExpansionEvent event) {
}
});


Previous Topic:add Dynamic Data to ComBoboxCellEditor
Next Topic:JFace TreeViewer refresh problem
Goto Forum:
  


Current Time: Tue Jul 22 05:23:47 EDT 2014

Powered by FUDForum. Page generated in 0.01732 seconds