Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Cell editing in RAP tree
Cell editing in RAP tree [message #51810] Tue, 16 October 2007 11:31 Go to next message
Aleksander Bandelj is currently offline Aleksander BandeljFriend
Messages: 98
Registered: July 2009
Member
I would like to write simple tree cell editor by enabling browser-side
cell editing for qooxdoo tree, intercepting edits in TreeItemLCA and
applying them server-side. I know how to enable editing for qooxdoo
tree, backed by model (setColumnEditable method), but not for RAP tree
subclass. I've been looking in javascript sources for
org.eclipse.swt.widgets.Tree, and it seems that there is no tree model,
but that all tree updates are made by event callbacks to server side.
Does anyone know of a reasonably simple way to add qooxdoo cell editors
to this class ?

-a
Re: Cell editing in RAP tree [message #54340 is a reply to message #51810] Mon, 22 October 2007 16:36 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Aleksander,

it seems your talking about the "qx.ui.treevirtual.TreeVirtual". As the
virtual tree of qooxdoo is in a very early development stage we are
using the "qx.ui.tree.Tree" which has no real model behind it.
org.eclipse.swt.widgets.Tree is just a wrapper around that qx widget to
enable column headers. If you really want to go that way to implement
cell-editing on the client-side i would recommend you to replace the
corresponding Atom in the TreeItems with a TextField to enable editing.
As I said this isn't an easy task. But if you still want to work on
this, don't hesitate to ask questions or to show a working example :)

So far
Benny

Aleksander Bandelj wrote:
> I would like to write simple tree cell editor by enabling browser-side
> cell editing for qooxdoo tree, intercepting edits in TreeItemLCA and
> applying them server-side. I know how to enable editing for qooxdoo
> tree, backed by model (setColumnEditable method), but not for RAP tree
> subclass. I've been looking in javascript sources for
> org.eclipse.swt.widgets.Tree, and it seems that there is no tree model,
> but that all tree updates are made by event callbacks to server side.
> Does anyone know of a reasonably simple way to add qooxdoo cell editors
> to this class ?
>
> -a
Previous Topic:version 1.0
Next Topic:Closing a Dialog automatically
Goto Forum:
  


Current Time: Fri Dec 27 02:08:59 GMT 2024

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

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

Back to the top