Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356403

Summary: ENTER key does not activate the cell editor when the table is read only
Product: z_Archived Reporter: Marcelo Paternostro <marcelo.paternostro>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: konstantin
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
RCP app showing the reported problem none

Description Marcelo Paternostro CLA 2011-08-31 16:13:17 EDT
Created attachment 202564 [details]
RCP app showing the reported problem

Scenario:

- In the Sapphire definition file, add a "read.only" hint to a Properties Editor and set it to "true".
- Make sure a writable property is added as a "Child Property" of the properties editor above
- Populate the model and pass it to a Sapphire dialog

As expected, double clicking the cell activates the cell editor, allowing the user to change the contents of the property. However, selecting the table's row and hitting ENTER does not activate the cell editor (it closes the dialog, if the OK button is enabled). Setting the "read.only" hint to "false" fixes the problem.

The same happens when the table is used via a SapphireControl, in a view for example.

I am attaching a RCP application example that illustrates the problem. It has its own launcher.
Comment 1 Konstantin Komissarchik CLA 2011-09-01 16:41:51 EDT
Fixed in 0.3.1 and 0.4 streams. Please verify.
Comment 2 Konstantin Komissarchik CLA 2011-09-20 14:37:09 EDT
Marcelo, could you verify this bug so that we can close it? Thanks.
Comment 3 Marcelo Paternostro CLA 2011-09-21 15:24:41 EDT
Thanks.
Comment 4 Konstantin Komissarchik CLA 2011-09-21 15:55:17 EDT
Closing. Thanks.