Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Figure plug-in
Figure plug-in [message #178409] Thu, 20 March 2008 15:52 Go to next message
Jan Koehnlein is currently offline Jan KoehnleinFriend
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 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Is anybody using this feature successfully?

Rgeards
Jan

Jan Kšoehnlein 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
Previous Topic:GMF and workspace-dependency in RCP
Next Topic:Emf serialization with id attribute
Goto Forum:
  


Current Time: Mon May 06 07:18:08 GMT 2024

Powered by FUDForum. Page generated in 0.02911 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top