[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Editing a column in a Tree
|
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet111.java?view=co
For multi-columns you'll always have to use the SWT.FULL_SELECTION-Style.
Tom
Prameela schrieb:
Thanks a ton Tom! The link proved really fruitful.
However, I have a doubt. Is it not possible to edit any 'nth' column
using a plain tree widget. I was trying to use a Tree(multi-column) and
edit it. All links/download pointed to just editing the first column.
TreeViewer definitely provide much more functionality and I can achieve
the editing without much effort. Just want to know what exactly did I
miss while editing a a multi-column tree. Could someone point me to some
link that gives more info about this?
/Prameela
Tom Schindl wrote:
There are plenty of them http://wiki.eclipse.org/JFaceSnippets
Tom
Prameela schrieb:
Hi All,
I want to edit a particular column in a Tree. It seems to be easy
with TableTree but since it is a deprectaed class I have to use Tree.
All the code snippets that i downloaded from the net just allowed me
to edit the first column. Although the TreeColumn does have a
addSelectionListener() API, it doesnt seem to work. Maybe I have
overlooked something?
Any links/pointers would be really helpful.
/Prameela
--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl JFace-Committer
--------------------------------------------------------------------