Enable data state variables to be deleted via a context menu
Data state variables can only be deleted via a button next to the table. It shall be possible to also delete them via a context menu.
This requires to improve the DynamicTreeTableViewerUIProviderBase as it only creates a context menu for readonly cells.
To be tested:
- Switch to af3 branch of this issue allone (not the kernel branch, for now)
- Start AF3
- Import the SimpleTrafficLightExample
- Open TL-Architecture -> Controller -> Behavior
- Switch to Data State editor tab
- Try to open a context menu for the data state variable
- Observe: No context menu should appear
To test the kernel changes:
- Switch to kernel branch now, too. Restart AF3, if necessary.
- Navigate to TL-Architecture -> Controller -> Behavior again
- Delete variable via context menu
- Observe: Context menu is displayed and variable can be removed.