Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Ian Mitchell on December 30, 2022, 11:41:32 pm

Title: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Ian Mitchell on December 30, 2022, 11:41:32 pm
Somehow I seem to have lost the ability to double-click on any element which has a composite structure diagram, and open the child diagram.
As a test, I tried the BPMN 2.0, 'Sub-Process' example from EAExample.qea from EA 16.1, and even that doesn't work. So it must be a something in my local setup of EA.
Also just noticed that I also can't double-click on hyperlinks (where a diagram has a hyperlink to another diagram).

Does anyone know if there is a switch/setting/preference which I have messed-up which has disabled this ?
Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Ian Mitchell on January 02, 2023, 10:29:46 pm
Update on this - taking the same content via copy/paste into v15.1 and everything works fine - so it's just something stupid I've done in V16.
Any ideas?
Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Guillaume on January 03, 2023, 01:34:03 am
Hi Ian,

Isn't it related with the following instead of EA 16 ?
When you create a BPMN activity, you can change the "activityType" tagged value from Task to Sub-Process which leads to render the task node with a +, yet this is not a composite element (set with the right click > new child diagram ..)
In BPMN a sub process task and a composite element task are both rendered the same way i.e. with the "+"
Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Ian Mitchell on January 03, 2023, 08:28:34 pm
Hi Guillaume - Happy New Year to you.
I don't think it's related - I moved the package, with all diagrams and composites - to EA 15.1, and everything worked ok. Even diagram hyperlinks are not working. Very strange.
Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Takeshi K on January 05, 2023, 12:11:30 pm
Hi Guillaume,

I think current behaviour of EA is not correct. The + mark should be related to the activityType in the BPMN specification.

The specification does not consider implementation of tools, so I think it is okay to show the mark if an Activity is composite. But if do so, the activityType value should be 'Sub-Process'. In this point, EA does not match the specification since EA shows the mark but activityType is still 'Task'.

Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Ian Mitchell on January 10, 2023, 01:44:27 am
OK - this is a bit embarassing....
Finally traced the issue to one of my own addins, which when responding to the EA_OnContextItemDoubleClicked event had a default response of 'true', which says to EA 'I have handelled the event - you don't need to', rather than FALSE, which means 'EA - please deal with this double-click'.
Boy, do I feel stupid.
Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: Geert Bellekens on January 10, 2023, 01:54:08 am
OK - this is a bit embarassing....
Finally traced the issue to one of my own addins, which when responding to the EA_OnContextItemDoubleClicked event had a default response of 'true', which says to EA 'I have handelled the event - you don't need to', rather than FALSE, which means 'EA - please deal with this double-click'.
Boy, do I feel stupid.
I'm glad it's not an EA problem.
Thanks for the update

Geert
Title: Re: Drill-down into composite diagram not working - EA 16.1, BPMN 2.0
Post by: wivel on January 10, 2023, 05:43:41 am
OK - this is a bit embarassing....
Finally traced the issue to one of my own addins, which when responding to the EA_OnContextItemDoubleClicked event had a default response of 'true', which says to EA 'I have handelled the event - you don't need to', rather than FALSE, which means 'EA - please deal with this double-click'.
Boy, do I feel stupid.
Thanks for the information. Was worried that it was yet another EA 16.x issue.

Henrik