Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Using TextCellEditor in a TreeView
Using TextCellEditor in a TreeView [message #284781] Sun, 01 May 2005 23:24 Go to next message
Eclipse UserFriend
Originally posted by: twilliamsark.yahoo.com

Does anyone know of a example where someone uses a TextCellEditor to
do inplace editing of a TreeView node?

Thanks,
-Todd
Re: Using TextCellEditor in a TreeView [message #284782 is a reply to message #284781] Mon, 02 May 2005 02:20 Go to previous messageGo to next message
Eclipse UserFriend
Maybe you should find some interesting informations in the following
snippet :
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet111.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Thomas

Todd Williams a écrit :
> Does anyone know of a example where someone uses a TextCellEditor to
> do inplace editing of a TreeView node?
>
> Thanks,
> -Todd
Re: Using TextCellEditor in a TreeView [message #284823 is a reply to message #284782] Mon, 02 May 2005 22:57 Go to previous message
Eclipse UserFriend
Originally posted by: twilliamsark.yahoo.com

Thanks for the reference to the snippet. With a little modification I
was able to get it to work just fine with my TreeViewer.

The thing I liked about the JFace's
TreeViewer/ContentProvider/LabelProvider pattern was the clear
seperation of concern between view and model. Setting up the tree
that way was much cleaner and easier than with raw SWT.

I was hoping to use the JFace CellEditor/CellModifier pattern to
handle editing of the tree contents. The implementations of that for
table look very clean.

If anyone knows of any examples using a CellEditor with a TreeViewer
please let me know.

Thanks,

On Mon, 02 May 2005 08:20:52 +0200, Thomas FRIOL
<thomas@anyware-tech.com> wrote:

>Maybe you should find some interesting informations in the following
>snippet :
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet111.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>
>Thomas
>
>Todd Williams a écrit :
>> Does anyone know of a example where someone uses a TextCellEditor to
>> do inplace editing of a TreeView node?
>>
>> Thanks,
>> -Todd
Previous Topic:Eclipse on MAC OSX 10.3
Next Topic:Getting Input from an Intro Page
Goto Forum:
  


Current Time: Thu May 08 08:41:23 EDT 2025

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

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

Back to the top