Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to handle treeviewer before expand happened ?
how to handle treeviewer before expand happened ? [message #458410] Wed, 13 July 2005 06:05 Go to next message
Michael Permana is currently offline Michael PermanaFriend
Messages: 23
Registered: July 2009
Junior Member
I need to repopulate my tree children when the user click "+" to expand a
node, i tried using
public void treeExpanded(TreeExpansionEvent event) {
if (event.getElement() == byUserId) {
//viewer.update(byUserId,null);
}

}});

but this is too late or caused problem,
what should i do ?
Re: how to handle treeviewer before expand happened ? [message #458990 is a reply to message #458410] Thu, 28 July 2005 13:38 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
If you're still looking for this answer then you should ask on the
eclipse.platform newsgroup since that is where jface lives.

"Michael Permana" <mpermana@hotmail.com> wrote in message
news:db2av2$als$1@news.eclipse.org...
> I need to repopulate my tree children when the user click "+" to expand a
> node, i tried using
> public void treeExpanded(TreeExpansionEvent event) {
> if (event.getElement() == byUserId) {
> //viewer.update(byUserId,null);
> }
>
> }});
>
> but this is too late or caused problem,
> what should i do ?
>
>
Previous Topic:Rectangle/column selection in StyledText or any other SWT compatible text field
Next Topic:JFace TextViewer, iTextStore & a thread
Goto Forum:
  


Current Time: Thu Apr 18 19:50:32 GMT 2024

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

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

Back to the top