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)
     Return value of constructor

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Tjaff
Posted on: 2009/10/27 5:28
Just popping in
Joined: 2009/10/27
From:
Posts: 3
Return value of constructor
Hi,

It is common to show constructor operations without an explicit return type in class diagrams. However, I have not been able to figure out how to do this in astah/JUDE.

Is it possible to somehow show a constructor operation without an explicit return type in a class diagram, while still showing the return types for all other operations?
Joba
Posted on: 2009/10/30 3:08
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: Return value of constructor
Hi Tjaff,

There are two ways to do so.

#1
1) Select the constructor operation in either Diagram or Structure Tree
2) Go to the property view (Left bottom pane of astah*/JUDE), it should show the property of the constructor operation
3) Go to [Base] tab and clear the [Return Value] field



















#2
1) Double-click on the constructor operation directly in the Diagram Editor






2) Clear the Return Value described after ":" (It says "Void" in this sample figure)






3) Return Value disappears from the Class






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