学习使用Borland Together心得体会(三)

本文分享了使用Borland Together Edition for Jbuilder的经验。指出Together ControlCenter在代码编辑和调试功能上不如专业Java IDE,而Borland推出的Together Edition for Jbuilder很棒。还介绍了其主界面,它保留Together ControlCenter主要元素,用Jbuilder替代Editor,可方便激活Jbuilder修改工程。

使用Borland Together Edition for Jbuilder

 

 

       最近学习使用了Together Edition for Jbuilder,发现TogetherJbuilder结合起来开发程序的速度和品质无与伦比,以前发表的两篇文章都是介绍Together ControlCenter的,这个工具与现在要介绍的工具比较起来则更加的侧重于设计,分析。程序员使用起来还是觉得不是很爽,原因如下:

l         Together ControlCenter的代码编辑器明显不如专业的java IDEJbuilder,无论是CodeInsignt的速度还是写代码的时候的感觉。都让我们觉得还是xxxx更加好用一点啊。

l         Together ControlCenter虽然也具有Run/Debug/BreakPoint等等功能。但是让人觉得是画蛇添足,使用起来也没有那么熟练了。

l         总之,ControlCenter虽然继承了IDE所应该具备的功能,但是仍然不能把我们这些使用习惯其他IDE的程序员拉过来,项目的进度摆在哪里,不允许我们再去熟悉另外一个IDE了,这对个人还是企业都是不利的。程序员需要更多的时间去学习,而企业需要延长项目的进度,这在现在的大部分公司里面是不可能的。

 

所以Borland收购了Together,它很聪明的推出了Together Edition for Jbuilder,这个版本非常棒,我今天使用了这个版本开发,觉得很是得心应手。好的东西不敢独享,共享我的一点微薄的经验,希望能够抛砖引玉。

 

一、界面初探

还是老话题,先看看我们的新工具的界面,然后再说其他的。我会比较一下区别。

1、  主界面


我打开了这个版本随身携带的sample,可以看见这个版本里面大体上保留的Together ControlCenter的主要界面元素,例如ExplorerDesignerMessage Pane,不过,细心的朋友应该发现了一点区别,对了,现在的Together好像已经没有了Editor了,对了,TogetherEditor已经没有了,取而代之的是Jbuilder与之的合成,相当于,Jbuilder成了TogetherEditor了,我们可以通过许多方式激活Jbuilder来修改工程。如:

l         使用鼠标右键单击Together的工程,如图:

可以发现第一个选择项就是“使用Jbuilder打开这个工程”,选择以后发生了什么?出来了一个对话框,让我们看看是什么:

原来可以这样启动啊,真是方便,点击yes,看看,噢,Jbuilder被启动起来了,原来,在你安装TogetherJBE的时候,已经发现了Jbuilder的安装目录了,所以现在可以调用Jbuilder的启动程序了。打开Jbuilder了,我们看看里面有什么:

大家可以看见,Jbuilder自动打开了该工程的源文件。我们可以在熟悉的界面里面开始工作了。

l         点击某个Class或者Interface的右键,然后选择edit

不好意思,屏幕太小了,但是我们仍然可以看见Edit选项,选择Edit,效果和前面介绍的一致,就是Jbuilder打开了相应的类的源代码供编辑。

 

我将在(四)里面介绍两者同步工作过程。
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、付费专栏及课程。

余额充值