Bug 453522

Summary: Line creation tool unavailable on the context menu when the table is empty
Product: [Modeling] Sirius Reporter: Romain Guider <romain.guider>
Component: TableAssignee: Project Inbox <sirius.table-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: florian.barbin, pierre-charles.david
Version: 1.0.1Keywords: triaged, ui
Target Milestone: ---   
Hardware: PC   
OS: Windows 8   
Whiteboard:
Attachments:
Description Flags
Use case none

Description Romain Guider CLA 2014-11-28 07:18:12 EST
On Edition tables, the first element cannot be added via the contextual menu it must be added through the toolbar dropdown which is confusing for users.
Comment 1 Florian Barbin CLA 2014-12-18 05:40:40 EST
Created attachment 249520 [details]
Use case

Example based one the sample ecore editor with an empty table.
Comment 2 Florian Barbin CLA 2014-12-18 05:44:57 EST
I set the Importance as "enhancement". The creation tool is available on existing lines. Indeed, at the opening, if no line is selected, the creation tool is not available in the context menu (you have first to select a line)
Comment 3 Pierre-Charles David CLA 2015-01-09 09:04:48 EST
IIRC, this is (or at least was) because of a technical limitation of SWT under Linux, where it is/was not possible to react on a right-click inside the table control when it is empty. Maybe the limitation is not true anymore, and maybe we should do better on platforms where it is possible, even if it means the behavior will become platform-dependant.