如何将鱼尾纹添加到 UMLet?
I'm using UMLet for creating class diagrams.
UMLet lets you add custom elements by writing your own Java code for their display. These are then stored as .java files in the programs directory.
How can I add crow's foot relations as custom elements?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几年前我也想要同样的东西。我最终只是下载了源代码并进行了更改。我相信我使用的是 Umlet 10.0.3 或 10.3。我更改的文件是com.umlet.element.base.Relation.java。基本上它是修改属性解析器代码。我添加了两个新端点:“m>”和 ”
在方法 setState 中,我添加了:
在同一方法中进一步向下添加:
在 paintEntity 方法中,我添加以下内容:
我对结果感到满意。但我不想把它放在每个版本中,而且它从未添加到代码库中(我怀疑是因为它不够 uml 风格),所以它现在可能已经过时了。
I wanted the same thing a few years back. I ended up just downloading the source and changing it. I believe I was using Umlet 10.0.3 or 10.3. The file I changed was com.umlet.element.base.Relation.java. Basically it is modifying the property parser code. I added two new endpoints: "m>" and "
In method setState I added:
and a bit further down in the same method:
In the paintEntity method, I added the following:
I was happy with the result. But I didn't want to put it in each release, and it was never added to the code base (I suspect because it isn't uml-ish enough), so it may be out of date now.