|
Re: CrossTable: Delete tool [message #1830528 is a reply to message #1830470] |
Tue, 28 July 2020 13:53 |
|
Hello,
Indeed, there is no Delete tool for the 'Intersection' only.
As this deletion is processed by the DeleteLinesAction, it would take a few classes to override it from the Editor to the listener that triggers this action. It is possible but a little bit overkill.
Instead of having a delete tool (triggers by the delete key), I think it would be easier that you implement a new contextual action that would clear the information stored in this intersection (I guess it is just a reference to remove). There is no contextual menu tool in a Table description unfortunately. You have to use the Eclipse way to create popup menus. For org.eclipse.ui.menus extension point, you should use popup:org.eclipse.sirius.table.ui.EditiontableEditorID?after=additions as location URI.
Best regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.02997 seconds