Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enterprise architect: Order of entry/exit functions in states

In my state machine, I have a state with several entry and exit functions. Enterprise Architect sorts them alphabetically, which can lead to something like this:

entry / a 
exit / b
entry / c

The entry and exit functions are what EA calls "element operations".

Question: How can I change the order of these operations? Ideally, I'd like to be able to order them in any way; if that is not possible, I'd like to have all the entry functions before the exit functions.

What I tried: In the "operations"-dialog, one can sort by columns; however, this does not change the order in the state diagram.

like image 447
mort Avatar asked Sep 02 '16 11:09

mort


2 Answers

In the operations dialog you have select an operation and press Ctrl +UP or Ctrl +DOWN to change the order of the operation.

Alternatively right click and choose option Move up or Move down

like image 193
Geert Bellekens Avatar answered Oct 23 '22 11:10

Geert Bellekens


I'm using EA 14, and there is a checkbox on "Start > View > Preferences > Objects" (Ctrl+F9 > Objects) named "Sort Features Alphabetically". I have just unchecked it and the operations now appear in the chronological order (entry, do, exit). I haven't checked the impact on other diagrams, though.

like image 43
Adail Retamal Avatar answered Oct 23 '22 12:10

Adail Retamal