Currently the monitoring of adapters is not supported by 4DIAC. Here is a first implementation of it. Before integration into the repository it needs to be thouroghly tested.
I gave the pathc a try and could see the watched interface of the adapters. However the values of the adpater interfce where not shown. Furthermore when right or left clicking on one of the interface elemetns in the yellow adapter connection creation mode is started and 4DIAC IDE becomes unusable. I guess connection creation should be disabled for these elements.
Nonetheless I think this is a good starting point in finally getting adapter monitoring working. Therefore I applied the patch and it is available in cset [fordiac-ide:07ef6a]. Thanks for this hard work!
In cset [fordiac-ide:64ab04] I was able to disable connection creation from interface elements of monitored adapters. However 4DIAC-IDE is still hanging when clicking on one of these interface elements. As it turns out the problem is the selection changed function of the monitoring actions. After a first look I find the code there quite elaborate. Maybe this can be sped up. Furthermore I think it would also be good to consider moving these actions to the new command/handler infrastructure of Eclipse as the Action infrastructure currently used is anyhow outdated. It would also give us the chance to better present the monitoring menu items. Maybe in sub menus.
I gave the pathc a try and could see the watched interface of the adapters. However the values of the adpater interfce where not shown. Furthermore when right or left clicking on one of the interface elemetns in the yellow adapter connection creation mode is started and 4DIAC IDE becomes unusable. I guess connection creation should be disabled for these elements.
Nonetheless I think this is a good starting point in finally getting adapter monitoring working. Therefore I applied the patch and it is available in cset [fordiac-ide:07ef6a]. Thanks for this hard work!
Related
Commit: [07ef6a]
Fixed connection with FORTE. Now values are shown.
thanks for the patch with it now updates are coming in. I allready pusehd it into the main repository.
In cset [fordiac-ide:64ab04] I was able to disable connection creation from interface elements of monitored adapters. However 4DIAC-IDE is still hanging when clicking on one of these interface elements. As it turns out the problem is the selection changed function of the monitoring actions. After a first look I find the code there quite elaborate. Maybe this can be sped up. Furthermore I think it would also be good to consider moving these actions to the new command/handler infrastructure of Eclipse as the Action infrastructure currently used is anyhow outdated. It would also give us the chance to better present the monitoring menu items. Maybe in sub menus.
Related
Commit: [64ab04]
Fix to handing 4DIAC-IDE
I have two issues with your fix:
Here is a patch containing to change to the new command interface. Unfortunetely it is not finsihed.
With cset [fordiac-ide:b2c255] this functionality has been implemented on IDE side. There is still an issue with monitoring adapter events on FORTE side. This is traced in the new bugzilla under issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=489307
Related
Commit: [b2c255]