First, use TOGETHER to draw UML views and generate code framework! 1. First create a new project, such as Test.tpr
2, each project has a default view, you can use the mouse button to click the DEFAULT view, as shown in the figure:
3. Select New Package so that you will see a package view in engineering Explorer.
4. Create a new Class view in the new package. This will see an empty view in the Designer on the right, you can draw the UML map of your class diagram on this.
5. Right-click in the Designer view, you can create your own Class, Interface, Package, Class By Patter, and more. You can also establish contact between various elements on top.
6. On the left side of the Designer view, you can see many small icons, these icons are used to draw UML views, you can click on an icon, then click on the panel on the right, you can create a new element. . The icon is as follows:
When your mouse is placed on the top of an icon, you can see the description of this icon.
7. For example, I am now creating a class and an interface, as shown:
8. You can click on the entire class or click on an attribute or method or type information, you can select any sub-information of a class. After selecting, if you want to view its properties, you can click Right click, as shown:
It is also possible to use shortcuts alt_enter to activate properties information of an element.
9. After clicking the property, open the property list window, in the lower left corner of Together.
10. If you check the code of an element, you can click on a button above. Figure:
The drawing of the lap is as shown in the figure, click on an element, then click this flag, you can see the new box below, this class is displayed:
This editor can achieve code editing, debugging, compiling, running, etc., and Code Insight features.
Ok, I believe everyone has compared to understand the operation mechanism of Together. There is also a detailed article in future articles. Thank you for your support!
---------------------------------
Disclaimer: The copyright and interpretation right of this article belongs to Zhao Talent, if you need to reprint, please keep your full content and this statement.
E-mail: vipcowrie@sina.com