Forum Index - Topic Index How to use of Astah (Pro/SysML/GSN/Com) [Tips] Edit Attributes and Operations on Diagram |
Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
Poster | Thread |
---|---|
midori | Posted on: 2007/11/12 15:31 |
Developer Joined: 2006/7/3 From: Posts: 324 |
[Tips] Edit Attributes and Operations on Diagram Attributes and operations in classes can be edited directly on a class diagram editor. (JUDE/Professional, JUDE/Community)
For example, add an attribute to a class. Input the following phrase, then press enter. It will update the setting of the attribute at once. - <<stereotype>> attribute0 : int = 1 {constraint} [Input Items] ------------------------------------------------------------ [Attribute] visibility <<stereotype>> attribute name : type = initial value {constraint} Example : - <<stereotype>> attribute0 : int = 1 {constraint} ------------------------------------------------------------ [Operation] visibility <<stereotype>> operation name(parameter name : type) : return value {constraint} Example: + <<stereotype>> operation0(param0 : int) : void {constraint} ------------------------------------------------------------ [Visibility Kind] + : public # : protected ~ : package - : private This function will help you to add and update attributes and operations by direct editing on diagrams. |
Threaded | Oldest First | Previous Topic | Next Topic | Top |