Enterprise architect: Order of entry/exit functions in states

China☆狼群 提交于 2019-12-10 18:34:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!