This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
v070:diagrams [2018/10/08 10:29] djnemeth |
v070:diagrams [2018/10/08 11:27] djnemeth [General structure] |
||
---|---|---|---|
Line 10: | Line 10: | ||
A diagram definition is a Java class inheriting from the appropriate type: | A diagram definition is a Java class inheriting from the appropriate type: | ||
- | * Class diagram: ''ClassDiagram''. | + | * Class diagram: [[http://txtuml.inf.elte.hu/releases/txtuml-v070/api/java/hu/elte/txtuml/api/layout/ClassDiagram.html|ClassDiagram]]. |
- | * State machine diagram: ''StateMachineDiagram<C>'', where ''C'' is a ''ModelClass'' which states we want to display in this diagram. | + | * State machine diagram: [[http://txtuml.inf.elte.hu/releases/txtuml-v070/api/java/hu/elte/txtuml/api/layout/StateMachineDiagram.html|StateMachineDiagram<C>]], where ''C'' is a ''ModelClass'' which states we want to display in this diagram. |
This class must contain an inner class definition, inheriting from ''Layout''. The actual layout constraints can be written as annotations on this inner class. | This class must contain an inner class definition, inheriting from ''Layout''. The actual layout constraints can be written as annotations on this inner class. | ||