Figure plug-in [message #178409] |
Thu, 20 March 2008 15:52 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Hi,
I've been playing around with the generation of the figure plug-in a
little bit, and have a few questions:
1) The generator ignores FigureDescriptors which don't have a Node or
Connection element pointing to it. Why is that? As Nodes/Connections
don't really appear in the generated code, I'd expect one generated for
every FigureDescriptor. Why do Nodes / Connections etc. matter in the
figure plug-in generation at all?
2) In the generated plug-in there are two versions of the
"mirrored.gmfgraph" model. One is in the root directory and is a
complete copy of the original file. The other is in the models folder
and contains nothing but an empty figure gallery. None really makes
sense to me, beause when I want to reuse figure, I need exactly its
Figure Descriptor (and its children) and I don't need referencing nodes,
connectionc etc. I'd expect that file in the model folder.
3) Given 1) and 2) I'd expect to be able to generate a separate figure
plug-in for each figure gallery in a gmfgraph model.
Maybe you can help clarifying these issues?
Regards
Jan
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Re: Figure plug-in [message #179899 is a reply to message #178409] |
Mon, 31 March 2008 09:50 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Is anybody using this feature successfully?
Rgeards
Jan
Jan Koehnlein schrieb:
> Hi,
>
> I've been playing around with the generation of the figure plug-in a
> little bit, and have a few questions:
>
> 1) The generator ignores FigureDescriptors which don't have a Node or
> Connection element pointing to it. Why is that? As Nodes/Connections
> don't really appear in the generated code, I'd expect one generated for
> every FigureDescriptor. Why do Nodes / Connections etc. matter in the
> figure plug-in generation at all?
>
> 2) In the generated plug-in there are two versions of the
> "mirrored.gmfgraph" model. One is in the root directory and is a
> complete copy of the original file. The other is in the models folder
> and contains nothing but an empty figure gallery. None really makes
> sense to me, beause when I want to reuse figure, I need exactly its
> Figure Descriptor (and its children) and I don't need referencing nodes,
> connectionc etc. I'd expect that file in the model folder.
>
> 3) Given 1) and 2) I'd expect to be able to generate a separate figure
> plug-in for each figure gallery in a gmfgraph model.
>
> Maybe you can help clarifying these issues?
>
> Regards
> Jan
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.02911 seconds