mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 07:42:33 +01:00
Author:admin
Date:2008-09-19T07:55:09.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@27 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Contexts]]
|
||||
[[Property:weight|4]]
|
||||
[[Property:uuid|6adec8c0-0eb4-d616-c7be-ef7480673b1c]]
|
||||
A diagram in the diagram tool is always the context of a certain class or cluster. Context means the direct relations up to a certain depth.
|
||||
|
||||
For clusters, the relations are:
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Diagram tool: Code generation]]
|
||||
[[Property:weight|5]]
|
||||
[[Property:uuid|f0ed7470-cc28-a0e3-df16-36a47d34f852]]
|
||||
All actions taken in the diagram tool that modify a part of the system are immediately reflected in the Eiffel system. Following is a summary of these actions.
|
||||
* When you create a new class, this is the generated empty class: <br/>
|
||||
<code>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Diagram toolbar]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|c0ea47ac-e616-0762-b1bf-53d87df8ce9f]]
|
||||
The toolbar of the diagram contains these buttons:
|
||||
* [[Image:diagram-target-cluster-or-class-icon]] Target to cluster or class <br/>
|
||||
Drop a class or a cluster on this icon to build the corresponding diagram.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Diagram tool]]
|
||||
[[Property:weight|-6]]
|
||||
[[Property:uuid|a3ca34e5-10e9-fac3-4795-9222074273a6]]
|
||||
* [[Diagram tool: Introduction|Introduction]]
|
||||
* [[Notation|Notation]]
|
||||
* [[Diagram toolbar|Diagram toolbar]]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Notation]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|615baff7-4dbe-2f2f-9a02-c05b20143478]]
|
||||
The diagram tool uses the [http://bon-method.com BON] (Business Object Notation) to represent Eiffel systems. This article will give a summary of all components of an EiffelStudio diagram. For detailed information on BON, please read [http://bon-method.com/book.htm Seamless Object-Oriented Software Architecture] by Kim Walden and Jean-MarcNerson, Prentice Hall 1994.
|
||||
|
||||
==Class==
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Views]]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|e31f55f4-907c-0df3-2144-3820765800a8]]
|
||||
Every class or cluster has one or more views. Every view shows the [[Contexts|context]] of a class or cluster, a subset of the Eiffel system. For example, for a certain cluster, you can show only the hierarchy of the classes in it, but you could have a second view that shows only a couple of classes in it, but with all relations between them.
|
||||
<div> [[Image:diagram-view-combo]] </div>
|
||||
The view combo box, as seen in the image above, can be used to add a view or switch to a previously added one. Every class and cluster has a view "DEFAULT" that is generated automatically. If you create a new view and move for example a class around in it, the "DEFAULT" view is unaffected.
|
||||
|
||||
Reference in New Issue
Block a user