网络安全 频道

防范入侵之文件对比查杀嵌入式木马


更强的搜索功能

    在 Rational Software Modeler V7.0中,我们做了很多工作以改进搜索功能,从而帮助用户构建建模项目。他们包括:

  • 改进的搜索
  • 更多的 "Relationship Types"
  • 更多的 "Show related elements"查询

 

    图 14 和 15 更详细的展示了改进的功能,图 14 显示了 Show Related Elements 屏幕中的附加查询,图 15显示了 Rational Software Modeler V7.0 中的新的 Relationship Types 。注意 Show All ConstraintsShow All Comments/URLs 是在 Rational Software Modeler V7.0 中的新增加的。

 Some of the new queries within the Show Related Elements window
图 14. Show Related Elements 窗口中的新查询

    选择 Details 按键打开 Relationship Types 窗口,显示了新类型(Template Binding,、Link,、Package Merge 和 References (Comment、 Constraint 和 URL))。

Some of the new relationship types within Show Related Elements
图 15. Show Related Elements 中新的关联类型

模型可用性的改进

    除了我们在关于 Rational Software Architect V7.0 的姊妹篇文章中提到过的改进之外,Rational Software Modeler V7.0 还改进了部分模型的可用性。他们是:

  • 改进的关联锚点支持
  • "Change Metatype" 重构活动
  • 放缩工具,动画缩放,动画布局
  • 画图时的"Duplicate element" 活动
  • 针对注释和几何图形的连接器助手

 

    让我们看看如下内容。缩放工具可以用来放大或缩小现有模型。Rational Software Modeler V7.0 将会自动重新布局模型,如图 16 所示。
The zoom tool, making your particular class larger than life in RSM
图 16. 缩放工具放大了某个特殊类

    复制类仅需要右键点击击您的类,并选择"Duplicate" (图 17和18)。

Selecting the duplicate feature leads to a duplicated class for you to work with
图 17. 选择复制特性至…

A duplicated class for you to work with in RSM
图 18. 满足您工作需要的一个复制类

    新的改进之处可以让您更方便的将注释、几何图形及其他元素关联起来。图 19 显示了包含椭圆与注释的连接器功能。

Seeing the new connector assistants for notes and geometric shapes in RSM
图 19. 新的针对注释和几何图形的连接器助手

转换创作引擎

    针对 Rational Software Modeler V7.0 扩展性的另一点更新就是可以通过 Java Emitter Templates (JET2)创作或者定制 UML 到 UML 的转换。这允许您定义源和目标示例以及它们间的映射关系,从而建立属于自己的 UML 转换。图 20 详细展示了一个模型到模型映射的例子。

UseCase Model to Collaboration Model mapping
图 20: UseCase 模型到 Collaboration 模型的映射 

    除了这些,还有一些额外的功能,例如创作模式,Eclipse 插件和 UML2 报告、Graphical Editing Framework (GEF) 与 Eclipse Modeling Framework (EMF)。

    要想获得更多有关 Rational Software Modeler V7.0 的其他扩展信息,请参阅帮助文档(在 IBM Rational Transformation Guide 和 Transformation Framewor下)和在线的 developerWorks 的 Rational Software Modeler V7.0 扩展信息 。

0
相关文章