Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to refresh contents of a Tree viewer in the popup dialog
how to refresh contents of a Tree viewer in the popup dialog [message #174657] Thu, 31 March 2005 10:40 Go to next message
Eclipse UserFriend
Originally posted by: penzhan8451.yahoo.com

Hi,

How to refresh a tree viewer contents which must be changed with
diffrent

selection ? NOTE(precondition) : the tree viewer is included in a popup

dialog and when user selects a diffrent file, the tree viewer's contents
must

be changed with that.


Thanks & best regards.
Re: how to refresh contents of a Tree viewer in the popup dialog [message #175514 is a reply to message #174657] Mon, 04 April 2005 23:55 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
viewer.setContents(modelObject) doesn't work?

"smallfish" <penzhan8451@yahoo.com> wrote in message
news:8117684391437b3a1a8e1c24325fcb77$1@www.eclipse.org...
> Hi,
>
> How to refresh a tree viewer contents which must be changed with
> diffrent
>
> selection ? NOTE(precondition) : the tree viewer is included in a popup
>
> dialog and when user selects a diffrent file, the tree viewer's contents
> must
>
> be changed with that.
>
>
> Thanks & best regards.
>
Re: how to refresh contents of a Tree viewer in the popup dialog [message #175978 is a reply to message #175514] Thu, 07 April 2005 08:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: penzhan8451.yahoo.com

hi ,

Thanks . but tree viewer hasn't the method setContents(moduleObject).

My gef editor is built at version 2.1.3 of eclipse.

Would you please give me a direction again ?

Thanks again !
Re: how to refresh contents of a Tree viewer in the popup dialog [message #176044 is a reply to message #175978] Thu, 07 April 2005 14:38 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Are you using the GEF TreeViewer or the JFace TreeViewer?

"smallfish" <penzhan8451@yahoo.com> wrote in message
news:3114ef79f240dc5a83e471f90856974c$1@www.eclipse.org...
> hi ,
>
> Thanks . but tree viewer hasn't the method setContents(moduleObject).
>
> My gef editor is built at version 2.1.3 of eclipse.
>
> Would you please give me a direction again ?
>
> Thanks again !
>
>
Re: how to refresh contents of a Tree viewer in the popup dialog [message #176136 is a reply to message #176044] Fri, 08 April 2005 08:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: penzhan8451.yahoo.com

Hi ,

The TreeViewer is org.eclipse.jface.viewers.TreeViewer . I called

TreeViewer.setInput(Object) , but looked like no effect .


Thanks a lot !
Re: how to refresh contents of a Tree viewer in the popup dialog [message #176199 is a reply to message #176136] Fri, 08 April 2005 15:21 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Then you're on the wrong newsgroup. Try the platform newsgroup.

"smallfish" <penzhan8451@yahoo.com> wrote in message
news:7f7608946e407ef0dd8cc36d06ece351$1@www.eclipse.org...
> Hi ,
>
> The TreeViewer is org.eclipse.jface.viewers.TreeViewer . I called
>
> TreeViewer.setInput(Object) , but looked like no effect .
>
>
> Thanks a lot !
>
Previous Topic:how to add items to the properties view
Next Topic:Multiple selection in ComboBoxPropertyDescriptor
Goto Forum:
  


Current Time: Fri Apr 26 17:22:33 GMT 2024

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

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

Back to the top