问题
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.
回答1:
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
回答2:
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.
来源:https://stackoverflow.com/questions/39291179/enterprise-architect-order-of-entry-exit-functions-in-states