如何在PowerDesigner上隐藏符号编号? [英] How to hide the symbol number on PowerDesigner?

查看:370
本文介绍了如何在PowerDesigner上隐藏符号编号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Sybase PowerDesigner中,当设计一个采用相同XXXX对象(即对象)的2个副本/实例的UML图时,应用程序会向该符号添加数字标识符,例如"XXXX:2". 可以删除它吗?

In Sybase PowerDesigner, when designing an UML diagram that takes 2 copies/instances of the same XXXX object (ie. objects), the application adds a number identifier like "XXXX : 2" to that symbol. Is it possible to remove it?

提前谢谢!

推荐答案

它似乎并非直接可行.

但是,(经过16.0的某种测试),您可以向模型添加扩展,在对象类型上定义计算属性(字符串类型),并返回对象名称:

However, (somewhat tested with 16.0), you can add an Extension to your model, define a computed attribute (type String) on your object type, returning the object name:

%Get%= obj.name

%Get% = obj.name

并使用Tools > Display Preferences > xxx > Advanced修改符号内容,并使用您的计算属性而不是Name ...

and use Tools > Display Preferences > xxx > Advanced to modify the symbol contents, and use your computed attribute instead of Name...

这篇关于如何在PowerDesigner上隐藏符号编号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆