定义构造型时如何使用_MeaningForwards和_MeaningBackwards? [英] How do I use the _MeaningForwards and _MeaningBackwards when defining stereotypes?

查看:66
本文介绍了定义构造型时如何使用_MeaningForwards和_MeaningBackwards?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在EA中的UML概要文件中定义构造型时,具有特殊属性 _MeaningForwards _MeaningBackwards .

When defining stereotypes in a UML profile in EA there are special attributes _MeaningForwards and _MeaningBackwards.

我该如何使用它们来精确定义快速链接器中的条目?
当我将它们添加到构造型中时,它们不会显示在快速链接器中.

How do I use those exactly to define the entries in the quicklinker?
When I add them to the stereotype, they don't show up in the quicklinker.

推荐答案

属性 _MeaningForwards _MeaningBackwards 应该添加到元类,而不是定型.

The attributes _MeaningForwards and _MeaningBackwards should be added to the metaclass, not to the stereotype.

如果您使用个人档案帮助器为您创建它们,那么您将不会错过.

If you use the profile helper to create them for you, you can't miss.

这也是为什么您不应该重用元类,而是为每个构造型创建元类的原因.

This is also the reason why you should not reuse metaclasses, but instead create a metaclass for each stereotype.

结果可以在快速链接器中看到

The result can be seen in the quicklinker

这篇关于定义构造型时如何使用_MeaningForwards和_MeaningBackwards?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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