Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace TreeViewer refresh problem
JFace TreeViewer refresh problem [message #927940] Sun, 30 September 2012 05:38
Eclipse UserFriend
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() {
public void treeExpanded(TreeExpansionEvent event) {
Previous Topic:JFace TreeViewer refresh problem
Next Topic:JFace TreeViewer refresh problem
Goto Forum:

Current Time: Fri Dec 15 18:11:00 GMT 2017

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

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