mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Author:halw
Date:2008-10-11T14:42:58.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@77 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,16 +1,27 @@
|
||||
[[Property:title|Adding a class]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|592f9c3a-4533-d849-a0d7-5c00864e5c26]]
|
||||
A dialog window is dedicated to the creation of new classes. <br/>
|
||||
[[Image:new-class-dialog]] <br/>
|
||||
A dialog window is dedicated to the creation of new classes.
|
||||
|
||||
|
||||
[[Image:new-class-dialog]]
|
||||
|
||||
|
||||
A list of all the clusters of the system lets you to choose in which one the new class will be inserted. The name of the new class and the name of the corresponding file can be set thank to two text fields above the list. It is also possible to define whether the class should be deferred or expanded, what its creation feature is (if any), what its parents are and whether the default feature clauses should be generated.
|
||||
{{tip|You can change the class text that is generated by default by editing the following files:$ISE_EIFFEL\studio\help\defaults\$ISE_PLATFORM\full.cls (with default feature clauses) and ...\empty.cls (without default feature clauses). }}<br/>
|
||||
|
||||
|
||||
{{tip|You can change the class text that is generated by default by editing the following files: <br/><br/>
|
||||
$ISE_EIFFEL\studio\help\defaults\$ISE_PLATFORM\full.cls (with default feature clauses) and <br/><br/>
|
||||
$ISE_EIFFEL\studio\help\defaults\$ISE_PLATFORM\empty.cls (without default feature clauses). }}
|
||||
|
||||
|
||||
To make the window appear, you can:
|
||||
* Click [[Image:16x16--new-class-icon]] in the [[Main toolbars|standard toolbar]] .
|
||||
* Select '''New class''' in the '''Tools''' menu.
|
||||
* Type the name of the new class in the class field of the [[Main address bar|main address bar]] or the [[Context tool address bar|context tool address bar]] . The current cluster will then be preselected.
|
||||
* Use the [[Diagram tool: Introduction|diagram tool]] : Pick the icon [[Image:16x16--new-class-icon]] and drop it on the diagram in the right cluster. This will make the dialog window appear with the chosen cluster selected.
|
||||
|
||||
|
||||
{{seealso|<br/>
|
||||
[[Removing a class|Removing a class]] }}
|
||||
|
||||
|
||||
@@ -2,8 +2,11 @@
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|76a118a9-270e-fbc4-567d-e2ce031585d4]]
|
||||
It is possible to create new clusters from EiffelStudio. A dialog window has been designed to help you do so.
|
||||
|
||||
|
||||
[[Image:new-cluster-dialog]]
|
||||
|
||||
|
||||
There are three ways to make this window appear. You can:
|
||||
* Click [[Image:16x16--new-cluster-icon]] in the [[Main toolbars|standard toolbar]] .
|
||||
* Click [[Image:new-cluster-icon]] in the [[Cluster tool|cluster tool]] .
|
||||
@@ -15,6 +18,7 @@ If you want to create a subcluster, give it a name and select its parent in the
|
||||
|
||||
To import an existing cluster, you can also go to the '''Groups''' section in the [[Group Options|Project Settings dialog]] and click '''Add cluster'''. Although this solution may be slightly more tedious, it gives access to more options.
|
||||
|
||||
|
||||
{{seealso|<br/>
|
||||
[[Removing a cluster|Removing a cluster]] }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user