Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » selection when having one object multiple times inserted in tree
selection when having one object multiple times inserted in tree [message #448386] Fri, 07 January 2005 15:47 Go to next message
Ulrich Küster is currently offline Ulrich KüsterFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I'm using a TreeViewer and have the same object inserted several times
in the tree.

I would like to have that objects selected everywhere in the tree as
soon as it is selected at one place.

How is that possible?

Any hint and help would be greatly appreciated.

Thank you very much,

Uli
Re: selection when having one object multiple times inserted in tree [message #448460 is a reply to message #448386] Mon, 10 January 2005 17:49 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Use Tree.setSelection() to select the items you want inside of the selection
callback. I have no idea how you do this with TreeViewer.

"Ulrich K
Re: selection when having one object multiple times inserted in tree [message #448498 is a reply to message #448460] Tue, 11 January 2005 15:49 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Fixed > 20050111

"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:cruf7o$6ne$1@www.eclipse.org...
> Use Tree.setSelection() to select the items you want inside of the
selection
> callback. I have no idea how you do this with TreeViewer.
>
> "Ulrich K
Re: selection when having one object multiple times inserted in tree [message #448526 is a reply to message #448498] Tue, 11 January 2005 16:20 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
.... oops, wrong message.

"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:cs0sjd$sap$1@www.eclipse.org...
> Fixed > 20050111
>
> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
> news:cruf7o$6ne$1@www.eclipse.org...
> > Use Tree.setSelection() to select the items you want inside of the
> selection
> > callback. I have no idea how you do this with TreeViewer.
> >
> > "Ulrich K
Previous Topic:Drag and Drop Images
Next Topic:Add an item to Text menu?
Goto Forum:
  


Current Time: Thu Nov 26 04:14:33 GMT 2020

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

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

Back to the top