Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Table tree Implementation.
Table tree Implementation. [message #633311] Sat, 16 October 2010 04:19 Go to next message
ash is currently offline ash
Messages: 142
Registered: July 2010
Senior Member
Hi

Can any one tell how to implement Table tree ....
Tabletree class is deprecated in 3.3 eclipse wht is the alternative for this..

How to implement ?

i want table tree structuire in this format

+ Node one
----------------------- Node 1 rec1
----------------------- Node 1 rec 2
+ node two
----------------------- Node 2 rec 1
----------------------- Node 2 rec 2
.
.
.
.
n


Can any tell how to implement this code snippet is appreciated


can be implemnted with treeviewer and tableviewer?

if s how ?

Thanks
Ashok
Re: Table tree Implementation. [message #633603 is a reply to message #633311] Mon, 18 October 2010 10:19 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
At the SWT level you use Tree and TreeColumns, for an example see
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet170 .java .

It looks like the following snippet demonstrates using tree columns in
TreeViewers:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet055HideShowColumn.java?view=markup .

Grant


<ashok_kumar_rr@yahoo.com> wrote in message
news:i9bmvi$ngt$1@news.eclipse.org...
> Hi
>
> Can any one tell how to implement Table tree ....
> Tabletree class is deprecated in 3.3 eclipse wht is the alternative for
> this..
>
> How to implement ?
> i want table tree structuire in this format
> + Node one ----------------------- Node 1 rec1
> ----------------------- Node 1 rec 2
> + node two ----------------------- Node 2 rec 1
> ----------------------- Node 2 rec 2 .
> .
> . .
> n
>
>
> Can any tell how to implement this code snippet is appreciated
>
>
> can be implemnted with treeviewer and tableviewer?
>
> if s how ?
>
> Thanks
> Ashok
Re: Table tree Implementation. [message #633647 is a reply to message #633311] Mon, 18 October 2010 12:39 Go to previous messageGo to next message
ash is currently offline ash
Messages: 142
Registered: July 2010
Senior Member
Thanks BOSS......!
Re: Table tree Implementation. [message #633666 is a reply to message #633647] Mon, 18 October 2010 14:53 Go to previous message
Federico Gaule is currently offline Federico Gaule
Messages: 21
Registered: September 2010
Location: Buenos Aires, Argentina
Junior Member
Take a look at http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/api/org/eclipse/jface/viewers/Tr eeViewerColumn.html

Thats what you need.
Previous Topic:suggestion for a perspective navigation panel
Next Topic:Product export: org.eclipse.emf.edit.ui not found
Goto Forum:
  


Current Time: Fri Aug 29 06:13:15 EDT 2014

Powered by FUDForum. Page generated in 0.03528 seconds