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)
     [Tips] Edit Attributes and Operations on Diagram

Flat Previous Topic | Next Topic
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.
Flat Previous Topic | Next Topic

Subject Poster Date
 » [Tips] Edit Attributes and Operations on Diagram midori 2007/11/12 15:31