简体   繁体   中英

StarUML show "in" in methods

i use StarUML for 2 weeks now. I can't find the option for showing "in" in the methods parameters. Is there any option?

I should look like this: -foo(in param1:String[0..3], in param2:int = 0): long

Thank you!

Well, not knowing StarUML but the UML 2.5 spec says on p. 108

<direction> ::= 'in' | 'out' | 'inout' (defaults to 'in' if omitted).

I downloaded StarUML (4.0.0) and the direction of a parameter is not shown in a class diagram when its direction is in , contrarily to the directions out and inout whose are shown.

Is there any option?

I didn't found an option to change that behavior and force to show the direction when it is in .

Example where the parameter p_in has he direction in , p_out the direction out , p_inout the direction inout and there is a parameter having the direction return , and I show the menu Format for the class :

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM