Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » TableCellEditing in eRCP-eSWT-eJface(TableCellEditing in eRCP-eSWT-eJface)
TableCellEditing in eRCP-eSWT-eJface [message #502907] Thu, 10 December 2009 09:38 Go to next message
pragun@imcsystemsuk.com is currently offline pragun@imcsystemsuk.comFriend
Messages: 8
Registered: July 2009
Junior Member
Has anyone used TableCellEditing functionality in eRCP/eSWT/eJface application on mobile device ?

I found many TableCellEditing examples/tutorials but all are for RCP/SWT/Jface only. So I implemented one of it from http://www.eclipse.org/articles/Article-Table-viewer/table_v iewer.html The example is attached for your reference. I am really searching any good book/guide/tutorials in eRCP/eSWT/eJface application. Please tell me if you know any.

My application runs on very high configuration mobile device i.e. Symbol MC9090 which is widely used in warehouse business. I am using IBM J9 (Now IBM Lotus Expeditor) runtime environment on device and for the development, I am using Eclipse 3.2.2 (Provided by IBM Lotus Expeditor Toolkit)

Atatched example displays Table on my Mobile device screen but the Cell Editing is not working. It appears as if its 'Read-Only' table. Table Cell Selection Listener listens user selection of a particular cell and the logs do get printed in CellModifier class in canModify(..), getValue(..) and modify(..) methods. But the cell edit thing is not working.

Any sugestions much appreciated Smile
Many thanks in advance.
Re: TableCellEditing in eRCP-eSWT-eJface [message #505750 is a reply to message #502907] Mon, 04 January 2010 13:50 Go to previous messageGo to next message
Mark Rogalski is currently offline Mark RogalskiFriend
Messages: 200
Registered: July 2009
Senior Member
Windows Mobile does not support the editing of cells in a native Table
widget.
Your best bet is to capture the cell default selection and popup an editor
for the content. Then save the new value to the table when the pop-up is
closed.


<pragun@imcsystemsuk.com> wrote in message
news:hfqfie$it8$1@build.eclipse.org...
> Has anyone used TableCellEditing functionality in eRCP/eSWT/eJface
> application on mobile device ?
>
> I found many TableCellEditing examples/tutorials but all are for
> RCP/SWT/Jface only. So I implemented one of it from
> http://www.eclipse.org/articles/Article-Table-viewer/table_v iewer.html The
> example is attached for your reference. I am really searching any good
> book/guide/tutorials in eRCP/eSWT/eJface application. Please tell me if
> you know any.
>
> My application runs on very high configuration mobile device i.e. Symbol
> MC9090 which is widely used in warehouse business. I am using IBM J9 (Now
> IBM Lotus Expeditor) runtime environment on device and for the
> development, I am using Eclipse 3.2.2 (Provided by IBM Lotus Expeditor
> Toolkit)
>
> Atatched example displays Table on my Mobile device screen but the Cell
> Editing is not working. It appears as if its 'Read-Only' table. Table Cell
> Selection Listener listens user selection of a particular cell and the
> logs do get printed in CellModifier class in canModify(..), getValue(..)
> and modify(..) methods. But the cell edit thing is not working.
>
> Any sugestions much appreciated :) Many thanks in advance.
Re: TableCellEditing in eRCP-eSWT-eJface [message #506395 is a reply to message #505750] Thu, 07 January 2010 11:50 Go to previous message
pragun@imcsystemsuk.com is currently offline pragun@imcsystemsuk.comFriend
Messages: 8
Registered: July 2009
Junior Member
Hi Mark,

Many thanks to you for your kind support.

Yes, you are absolutely right as I got IBM US L2/L3 developement support call suggestions that TableCellEditing is NOT supported in Windows Mobile operating system !!! So its not eRCP/eSWT/eJface jar files or Lotus Expeditor build which I thought earlier !!

Finally I made it working but not using TableCellEditor. I did it in slightly different way,
(1) I removed all code which was using Table ICellModifier interface
(2) Added Listener to Table "table.addListener(SWT.MouseUp, new Listener()" which handels Event when user selects any Table Row
(3) Open a dialog composite pop-up window and for new Text entery. This dialog pop-up window has update button so on clicking it, below operation gets performed
- start a new thread which updates database for this new user Text entry
- using "display.syncExec" and update ArrayList of Tableviewer and simply refresh Tableviewer to display updated ArrayList
- Close dialog pop-up window and Tableviewer shows updated Table Cell

I hope I am doing right things !
Previous Topic:Announcing background image support in eSWT for Window Mobile
Next Topic:TableCellEditing in eRCP-eSWT-eJface
Goto Forum:
  


Current Time: Sat Nov 09 19:58:49 GMT 2024

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

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

Back to the top