如何在DSL WPF设计器模型元素中连接到图元素(形状) [英] How to connect in DSL WPF Designer Model Elements to Diagram Elements(Shape)

查看:59
本文介绍了如何在DSL WPF设计器模型元素中连接到图元素(形状)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我对DSL有这个问题。我选择了DSL Wpf Designer模式。

I have this problem with the DSL. I chose the DSL Wpf Designer Mode.

它不允许我通过图元素图连接,

It doesn't allow me to connect through the Diagram Element Map,

模型中的类和形状。这是正常的吗?

the classes in the model and the shapes. Is it normal?

我还注意到图表形状没有创建,因此

I also noticed that the diagram shape is not created and consequently

图表为空。

nyone有解决方案吗?

Does nyone have a solution?

谢谢,Nico

推荐答案

Hello Nico。

Hello Nico.

DSL WPF Designer是一个不生成WPF图形建模设计师的模板,但基于WPF表单的设计师。换句话说,它是构建一个编辑器,如.resx编辑器(这是一个例子)。

The DSL WPF Designer is a Template that does not generate a WPF Graphical modeling designer, but a WPF Form based designer. In other words it's to build an editor such as the .resx editor (that's an exemple).

如果您想拥有一个图形WPF设计师,我建议您查看一下,例如 以下帖子  http://social.msdn.microsoft。 com /论坛/ vstudio / zh-CN / 3983afc7-656b-4c88-9e5c-cae4ec36a95e / dsl-tools-frozen-mmf-warming-up
(来自Microsoft合作伙伴)

If you want to have a graphical WPF designer, I'd suggest you have a look at, for instance the following post http://social.msdn.microsoft.com/Forums/vstudio/en-US/3983afc7-656b-4c88-9e5c-cae4ec36a95e/dsl-tools-frozen-mmf-warming-up (from Microsoft partners)

问候


这篇关于如何在DSL WPF设计器模型元素中连接到图元素(形状)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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