Menu

#1075 Support monitoring of adapters

1.8
closed-fixed
nobody
None
4DIAC-IDE
New_Feature
Normal
2016-03-09
2015-12-04
Gerd Kainz
No

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.

1 Attachments

Discussion

  • Zoitl Alois

    Zoitl Alois - 2015-12-06
    • status: open --> pending
     
  • Zoitl Alois

    Zoitl Alois - 2015-12-06

    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]

  • Gerd Kainz

    Gerd Kainz - 2015-12-11

    Fixed connection with FORTE. Now values are shown.

     
    • Zoitl Alois

      Zoitl Alois - 2015-12-13

      thanks for the patch with it now updates are coming in. I allready pusehd it into the main repository.

       
  • Zoitl Alois

    Zoitl Alois - 2015-12-14

    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]

  • Gerd Kainz

    Gerd Kainz - 2015-12-14

    Fix to handing 4DIAC-IDE

     
    • Zoitl Alois

      Zoitl Alois - 2015-12-14

      I have two issues with your fix:

      1. It contains several infrastructure files not related to the problem
      2. It will solve the clicking problem but will avoid that you can force values or trigger events of interface elements of adapters
       
  • Gerd Kainz

    Gerd Kainz - 2015-12-18

    Here is a patch containing to change to the new command interface. Unfortunetely it is not finsihed.

     
  • Zoitl Alois

    Zoitl Alois - 2016-03-09
    • status: pending --> closed-fixed
     
  • Zoitl Alois

    Zoitl Alois - 2016-03-09

    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]


Log in to post a comment.