BorlandTogether使用指南

本文介绍如何下载及安装Together2008 SP1版本,并通过一个Java开源项目进行实践,包括设置Java源代码目录、创建建模项目、生成UML类图和序列图等步骤。

 

. 在官网下载Together2008SP1WW_TR.exe,下载前会要求填份表格,随便填吧,填完就可以下载了,要填的表单项还真多
. 安装Together
. google下载破解包com.borland.sanctuary.client.core_6.0.0.rar,将解压后的两个jar文件覆盖C:/Borland/Together/dropins/together/eclipse/plugins/com.borland.sanctuary.client.core_6.0.0.v20080718_1016目录
   中对应的文件
. 找个Java文件数目还比较多的开源项目做下试验(Java基本上没弄过, 在下搞得是C++),我找了apache的ibatis
. Together本身使用的是Eclipse IDE(因为不知道,所以我还特意去下载了一个Eclipse,白忙活了),打开Together
. eclipse界面中,new project->modeling->Java Modeling Project,创建个新的modeling工程
. 接着马上跳出java settings, details中选择"Link Additional Source"链接,加入Java源代码目录到工程中(我的就是前面说的ibatis中的org目录)
. window菜单->show view->model navigator
. 在model navigator中双击左边的某个package,这样会生成这个package的类图uml结构
. 右键点击uml类图里的某个方法,会出现generate sequence diagram,这样便能出现序列图了

 

Borland Together Together Modeling Modeling and Diagrams New (Bug 23): The Enhanced Rich Text Editor for properties is no longer an early access feature, and can be enabled or disabled in the Capabilities window ( Window -> Preferences -> Capabilities -> Advanced -> Modeling -> Enhanced Rich Text Editing). This capability is enabled by default. New (Bug 2261, Trk#30135): Ant task provided for running OCL based Model audits/metrics. Please refer topic Borland Together Modeling Guide > Procedures > Together Quality Assurance > Running Model Audits and Metrics as Ant Tasks in the online help for details. New (Bug 2478, Trk#36928): Added ability to choose alternative way of storing properties of packages in package model files (default.txaPackage). This information is typically stored in the default package diagram files (default.txvpck or default.txvClassDiagram20). This alternative way enables keeping such properties synchronized across the team even when package diagrams are excluded from version controlling (with the Preferences -> Team -> Modeling resources -> Ignore default package diagrams option). The Store package properties in package diagram files option can be changed from the new modeling project wizard or in the Project Properties dialog. Because changing this option in the Project Properties dialog for existing project results in the one-time conversion of affected project files, this option should be used with caution. Note that projects switched to this alternative storage of package properties cannot be opened in earlier versions of the product. New (Bug 2490, Trk#27573): Provided the ModelValidator tool that looks for the severe model problems (broken links, duplicate uins, etc). Fixed (Bug 3155, Trk#36964): UML 2.0, Behavior: You can now use the Properties Inspector to specify multiple pre-postconditions for behaviors. New (Bug 3184): Properties inspector now saves changes automatically when application exits. Fixed (Bug 4264): UML 2.0, Sequence diagram: Lifeline head changes its shape depending on the metaclass of the represented classifier. Supported for Actor and Component metaclasses. Fixed (Bug 4488): Issue with dependencies has been fixed in 'UML to WSDL transformation Project' sample. Fixed (Bug 4496): When you copy elements with hyperlinks from a referenced project, the hyperlink destination is now changed to the corresponding element in the target project. Fixed (Bug 4520): Profiles, properties of enum type: You can now localize enum literals. New (Bug 4522): Added support for hidden compartments in UML 2.0 modeling projects. New (Bug 4615): Warning message describing paste semantics is shown during copy/paste operations. A switch is provided in Window -> Preferences -> Modeling -> Copy/Paste -> Show warning about relationship when elements copied to enable or disable the warning dialog. New (Bug 4631): Scope for Profile Constraints checking (Model -> Profile -> Run Profile Constraints) now can be specified. Available scopes are project, package, and selected resource. Fixed (Bug 4717 (2382), Trk#17851): Profiles: Initial value of stereotype attribute is now used as default value of corresponding stereotype-specific property.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值