This document takes you through a typical session with the Assembly
Manager.
You may launch the Assembly
Manager from EiffelStudio either through the corresponding toolbar
button or through the
Tools
menu.
The first screen displayed by the Assembly Manager is the Imported Assembly Viewer. This screen lists all the assemblies currently in the Eiffel Assembly Cache. |
Note: Only signed assemblies may be imported in the Eiffel Assembly Cache.
The Open Assembly Dialog appears. You can choose the path where the files corresponding to the types in the imported assemblies will be generated. You may also specify whether the Assembly Manager should generate Eiffel friendly names for methods on these types. If this box is left checked then method names such as CopyTo will be generated as copy_to. |
Click on the open toolbar button |
Because the naming convention used in CLS differs from Eiffel (use of camel case for the former versus combination of lower case and underscores for the later) and because overloading is not supported in Eiffel, the Assembly Manager lets you change the names exposed to Eiffel.
Note: The Assembly Manager will automatically disambiguate overloaded method names. The resulting names might not be very friendly though, this is the main reason for using the Assembly Manager to modify feature names.
To edit an assembly in the Eiffel Assembly Cache:
|
Note: Only immediate features (i.e. features that are not inherited) and their arguments names are editable. To rename a feature which is inherited (or an argument whose related feature is inherited), open the Type View corresponding to the class where the feature is first declared.
You may edit any feature name which appears italicized. Simply click on the name you wish to modify.
You can also rename the arguments of features which appear italicized. Simply click on the argument you wish to modify.
The Assembly Manager first checks that your changes are consistent before saving them. In case problems are detected, the list of errors appears at the bottom of the Type View. When you click on an error message, the focus is given to the corresponding item (feature name or feature argument), inviting you to modify it.
To remove an assembly from the Eiffel Assembly Cache:
|
Note: When you decide to remove an assembly (and possibly its dependencies), you must keep in mind that assembly removal is a one-way process: the only way to "undo" it is to import the assembly again through the Import Tool. Any change that you have previously made to the names of the features and their arguments will be lost.