UML design(一) tools
UML design on eclipse
document location
http://www.vogella.de/articles/UML/article.html
install location
http://www.vogella.de/articles/Eclipse/article.html#updatemanager
step1 Installation
update location Galileo- http://download.eclipse.org/releases/galileo
find UML2 Extender SDK and UML2 Tools SDK under Modeling and install them.
step 2 Creating UML Diagrams
In my project cat-aries, I create a directory in doc/uml and select [New] --> [Other] --> [UML 2.1 Diagrams] --> [class diagram]
you can create a package and create class in the picture with the help of Palette
If you select your UML diagram and click on the outgoing arrow you can create associations.
UML Design on internet
On line UML design tool, the URL is http://yuml.me
Syntax Overview
Class [Customer]
Directional [Customer]->[Order]
Bidirectional [Customer]<->[Order]
Aggregation [Customer]+-[Order] or [Customer]<>-[Order]
Composition [Customer]++-[Order]
Inheritance [Customer]^[Cool Customer], [Customer]^[Uncool Customer]
Dependencies [Customer]uses-.->[PaymentStrategy]
Cardinality [Customer]<1-1..2>[Address]
Labels [Person]customer-billingAddress[Address]
Notes [Person]-[Address],[Address]-[note: Value Object]
Full Class [Customer|Forename;Surname;Email|Save()]
Splash of Colour [Customer{bg:orange}]<>1->*[Order{bg:green}]
The simplest example:
[Manager]->[Address]
[Address]->[Email]
and we can access the picture from this URL http://yuml.me/diagram/scruffy;/class/[Manager]-%3E[Address],%20[Address]-%3E[Email]
UML design on eclipse
document location
http://www.vogella.de/articles/UML/article.html
install location
http://www.vogella.de/articles/Eclipse/article.html#updatemanager
step1 Installation
update location Galileo- http://download.eclipse.org/releases/galileo
find UML2 Extender SDK and UML2 Tools SDK under Modeling and install them.
step 2 Creating UML Diagrams
In my project cat-aries, I create a directory in doc/uml and select [New] --> [Other] --> [UML 2.1 Diagrams] --> [class diagram]
you can create a package and create class in the picture with the help of Palette
If you select your UML diagram and click on the outgoing arrow you can create associations.
UML Design on internet
On line UML design tool, the URL is http://yuml.me
Syntax Overview
Class [Customer]
Directional [Customer]->[Order]
Bidirectional [Customer]<->[Order]
Aggregation [Customer]+-[Order] or [Customer]<>-[Order]
Composition [Customer]++-[Order]
Inheritance [Customer]^[Cool Customer], [Customer]^[Uncool Customer]
Dependencies [Customer]uses-.->[PaymentStrategy]
Cardinality [Customer]<1-1..2>[Address]
Labels [Person]customer-billingAddress[Address]
Notes [Person]-[Address],[Address]-[note: Value Object]
Full Class [Customer|Forename;Surname;Email|Save()]
Splash of Colour [Customer{bg:orange}]<>1->*[Order{bg:green}]
The simplest example:
[Manager]->[Address]
[Address]->[Email]
and we can access the picture from this URL http://yuml.me/diagram/scruffy;/class/[Manager]-%3E[Address],%20[Address]-%3E[Email]