Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   How to use of Astah (Pro/SysML/GSN/Com)
     Show only operation parameter type without its name and setting default return value

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
fcharron
Posted on: 2010/7/8 5:06
Just popping in
Joined: 2010/7/8
From:
Posts: 2
Show only operation parameter type without its name and setting default return value
Hello,

1)
Is it possible when editing class diagrams to hide an operation parameter name, but show only its type ?

i.e.: Operation(type1, type2):Return type

Right now when I check "Operation parameter type visibility" and not "Operation parameter visibility" in the context menu when selecting an element, it disables completely parameter visibility.

2)
Is is possible to specify default return values other than void (in C++) for operation return values like we can for default type of attribute ? I am designing COM objects right now where most of my interface methods return HRESULT values and I get tired of having to specify it manually every time.

Thanks,

Francois Charron
Joba
Posted on: 2010/7/9 6:50
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: Show only operation parameter type without its name and setting default return value
Hello Francois, thank you for your questions.


Quote:
1) Is it possible when editing class diagrams to hide an operation parameter name, but show only its type ?
I'm afraid no.
As you pointed out, still being able to check "Operation parameter type visibility" while "Operation parameter visibility" is checked off seems not appropriate. Will consider improving this area in the future.

Quote:
2) Is is possible to specify default return values other than void (in C++) for operation return values like we can for default type of attribute ?
Again, no unfortunately. Will add this to the feature wish list and consider implementing in the future.

Thanks,
Satomi
Threaded | Newest First Previous Topic | Next Topic | Top