Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ercp-dev] TableCellEditing in eRCP/eSWT/eJface

Hi Mark,
 
Thank you very much for your kind support.
 
Finally I made it working but not using TableCellEditor. 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 !!
 
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

Again, Many thanks to all of you.

Regards,
Pragun.

-----Original Message-----
From: Pragun Mehta [mailto:pragun@xxxxxxxxxxxxxxxx]
Sent: 18 December 2009 12:03
To: Mark Rogalski
Cc: ERCP developers list; ercp-dev-bounces@xxxxxxxxxxx
Subject: RE: [ercp-dev] TableCellEditing in eRCP/eSWT/eJface

Hi Mark,
 
Extremely sorry for this long long mail. Just being more informative :)
 
By running many TableCellEditing example, I made myself clear that there is nothing wrong in the example code. Then, I decided to try TableCellEditing on various other Eclipse/LotusExpeditor versions and the results are as follows,
 
(1) TableCellEditing is NOT working on Lotus  Expeditor 6.1.2 for Client-Service project on desktop
Development Environment: Lotus  Expeditor 6.1.2 Toolkit Fix Pack 3
Lotus Expeditor 6.1.2 Client for Desktop : jclDesktop Win32 x86 (C:\java\eclipselotusexpeditor\plugins\com.ibm.pvc.wct.runtimes.jcl.desktop.sdk.win32.x86_6.2.0.200811061030\rcp\eclipse\plugins\com.ibm.rcp.jcl.desktop.sdk.win32.x86_6.2.0.200811061030\jre)
IDE : Eclipse 3.2.2 (J2EE-SDK-Callisto-322-win32)
OS : Window XP Service Pack 3
 
- Download eRCP-1.3-win32-x86-20090806.zip from http://www.eclipse.org/ercp/downloads-page.html
- Replaces below old jar files to new version of eRCP 1.3 jar files from location C:\java\eclipselotusexpeditor\plugins\com.ibm.pvc.dev.rt_6.1.2.20071211\xpd\plugins\
org.eclipse.ercp.swt.win32_1.0.2 --> org.eclipse.ercp.swt.win32_1.3.0
org.eclipse.ercp.swt_1.0.2.jar --> org.eclipse.ercp.swt_1.3.0.jar
org.eclipse.ercp.jface_1.0.2.jar --> org.eclipse.ercp.jface_1.3.0.jar
 
(2) TableCellEditing is NOT working on Lotus  Expeditor 6.1.2 for Client-Service project on Device
Development Environment: Lotus  Expeditor 6.1.2 Toolkit Fix Pack 3
Lotus Expeditor 6.1.2 Client for Device : jclDevice Win32 x86 (\Storage Card\eclipse\plugins\com.ibm.pvc.wece.device.win32.arm_6.1.2.0-20071211\jre)
IDE : Eclipse 3.2.2 (J2EE-SDK-Callisto-322-win32)
OS: Window Mobile 5.0 Professional
 
- Download eRCP-1.3-wm6pro-20090806.zip from http://www.eclipse.org/ercp/downloads-page.html
- Replaces below old jar files to new version of eRCP 1.3 jar files from location \Storage Card\eclipse\plugins\
org.eclipse.ercp.swt.wm6pro_1.3.0 --> org.eclipse.ercp.swt.wm2003_1.0.2
org.eclipse.ercp.jface_1.0.2.jar --> org.eclipse.ercp.jface_1.3.0.jar
org.eclipse.ercp.swt_1.0.2.jar --> org.eclipse.ercp.swt_1.3.0.jar
 
(3) TableCellEditing is working on Eclipse 3.5 (Galileo RCP) for Plug-in project on Desktop
Download Eclipse 3.5 Galileo for RCP (eclipse-rcp-galileo-SR1-win32)
- New > Project > Plug-in Development > Plug-in Project > Click Next
- Give Project Name as "tabletest" > Click Next
- Would you like to create rich client application > select Yes radio button > Click Next
- Select "RCP application with a view" Template > Click Next > Click Finish
- Update View.java with TableCellEditing code
- Open MANIFEST.MF and click on button "Launch Eclipse application"
- TableCellEditing is working
 
(4) TableCellEditing is working on Lotus  Expeditor 6.2.1 for Client-Service project on Desktop
Download Lotus Expeditor Toolkit 6.1.2, Lotus Expeditor Developer Edition 6.1.2, Eclipse 3.4 (Gynamede RCP)
- New > Project > Client Services > Client Service Project >
- Give Project Name as "tabletest" > Click Next > Click Next
- Select "RCP Basic Application" Template > Click Next > Click Finish
- Run Client Service project configuration
- TableCellEditing is working
Note: I can't check Lotus Expeditor 6.2.1 for Client-Service project on Device as its not available for free trail

As you said, it seems clear that TableCellEditing is not working in Lotus Expeditor 6.1.2 because it contains few old version libraries. First of all I really can't find out what those libraries are which is causing this issue and the second stuff is how to upgrade those old libraries. The easiest way is either I should upgrade my existing IBM license for the newer Lotus Expeditor version 6.2.1 or buy it.

But still wondering if anyone from you have ever been successfull with TableCellEditing in Lotus Expeditor 6.1.2 ?

Thanks & Regards,
Pragun Mehta.

-----Original Message-----
From: Mark Rogalski [mailto:rogalski@xxxxxxxxxx]
Sent: 11 December 2009 16:22
To: pragun@xxxxxxxxxxxxxxxx
Cc: ERCP developers list; ercp-dev-bounces@xxxxxxxxxxx
Subject: RE: [ercp-dev] TableCellEditing in eRCP/eSWT/eJface


The eSWT implementation is actually in the org.eclipse.ercp.swt.{platform}   folder under plugins.

Just remove that folder and replace it with the one out of the eRCP 1.3 runtime build you can download from Eclipse. Make sure to use the wm6pro version,



"Pragun Mehta" <pragun@xxxxxxxxxxxxxxxx>

12/11/2009 10:05 AM

Please respond to
<pragun@xxxxxxxxxxxxxxxx>

To
Mark Rogalski/Austin/IBM@IBMUS, "ERCP developers list" <ercp-dev@xxxxxxxxxxx>, <ercp-dev-bounces@xxxxxxxxxxx>
cc
Subject
RE: [ercp-dev] TableCellEditing in eRCP/eSWT/eJface





Hi Mark,

Thank you very much for your response. Yes, you are correct. Below is my
Developement/Runtime environment detail

(a)
Developement Environment: Lotus  Expeditor 6.1.2 Toolkit Fix Pack 3
Eclipse:                               Eclipse 3.2.2
(J2EE-SDK-Callisto-322-win32)
Developement OS:               Window XP Service Pack 3
Java:                                   jclDevice Win32 x86

(b)
Device Runtime Environment: Lotus Expeditor 6.1.2 Client Fix Pack 4 for
Device
Runs on Device:                     Motorola MC9090 / MC75
Device OS:                            Windows mobile 5.0 / 6.0
Java:                                    IBM J9

when I checked eSWT/eJface jar files from my Motorola mobile device
installation location \\root\eclipse\plugins I found below jar files
org.eclipse.ercp.swt_1.0.2.jar
org.eclipse.ercp.jface_1.0.2.jar
So, I presume its eSWT/eJface version 1.0.2 what I am using

I now have to upgrade these two jar files to the latest version to test
TableCellEditing stuff. I found a tutorial
http://wiki.eclipse.org/JFace#Setting_Up_an_Eclipse_Project_to_use_SWT_and_J
Face Is this the best way to upgrade eSWT/eJface or is there any other
better way ?

Many thanks in advance.

Regards,
Pragun.

>  -----Original Message-----
> From:                  Mark Rogalski [
mailto:rogalski@xxxxxxxxxx]  On Behalf Of
> Mark Rogalski
> Sent:                 11 December 2009 15:36
> To:                 pragun@xxxxxxxxxxxxxxxx; ERCP developers list
> Cc:                 eRCP; ercp-dev-bounces@xxxxxxxxxxx
> Subject:                 Re: [ercp-dev] TableCellEditing in eRCP/eSWT/eJface
>
> Hi Everyone,
>
> 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_viewer.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.
>  << File: tabletest2.zip >>
> 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.
>
> Many thanks in advance for any suggestions.
>
> Regards,
> Pragun.
>
[attachment "winmail.dat" deleted by Mark Rogalski/Austin/IBM]


Back to the top