Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Generate Figures Plug-in
Generate Figures Plug-in [message #182115] Thu, 10 April 2008 10:40 Go to next message
Eclipse UserFriend
Originally posted by: nico.lammers.gmail.com

Hi,

I'm trying to do this using the action from the gmfgraph model. It
generates a plugin, but then I get a NullReferenceException somewhere.

I *think* it should also remove the code for the generated diagram code?
or at least change gmfgen to not generate the figures code (anymore) in
the generated diagram code?

How should this work? Am I missing something here?

~ Nico
Re: Generate Figures Plug-in [message #182124 is a reply to message #182115] Thu, 10 April 2008 11:42 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
It will create a mirrored.gmfgraph in the generated plug-in. You'll need to
replace all references to the original .gmfgraph in your .gmfmap to the
corresponding elements in the mirror and then reproduce the .gmfgraph and
regenerate your diagram.

- Rich


On 4/10/08 6:40 AM, in article ftkqrd$qf3$1@build.eclipse.org, "Nico
Lammers" <nico.lammers@gmail.com> wrote:

> Hi,
>
> I'm trying to do this using the action from the gmfgraph model. It
> generates a plugin, but then I get a NullReferenceException somewhere.
>
> I *think* it should also remove the code for the generated diagram code?
> or at least change gmfgen to not generate the figures code (anymore) in
> the generated diagram code?
>
> How should this work? Am I missing something here?
>
> ~ Nico
Re: Generate Figures Plug-in [message #182174 is a reply to message #182124] Thu, 10 April 2008 12:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nico.lammers.gmail.com

Well, at least I know for sure that someone is missing ;)

During the codegeneration I get a NullReferenceException, and the
generation is aborted. Only the 'normal' figures are generated,
but not figures for links or compartments.. or the mirrored.gmfgraph
file.

~ Nico

Richard Gronback wrote:
> It will create a mirrored.gmfgraph in the generated plug-in. You'll need to
> replace all references to the original .gmfgraph in your .gmfmap to the
> corresponding elements in the mirror and then reproduce the .gmfgraph and
> regenerate your diagram.
>
> - Rich
>
>
> On 4/10/08 6:40 AM, in article ftkqrd$qf3$1@build.eclipse.org, "Nico
> Lammers" <nico.lammers@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to do this using the action from the gmfgraph model. It
>> generates a plugin, but then I get a NullReferenceException somewhere.
>>
>> I *think* it should also remove the code for the generated diagram code?
>> or at least change gmfgen to not generate the figures code (anymore) in
>> the generated diagram code?
>>
>> How should this work? Am I missing something here?
>>
>> ~ Nico
>
Re: Generate Figures Plug-in [message #182228 is a reply to message #182174] Thu, 10 April 2008 12:43 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Nico,

> During the codegeneration I get a NullReferenceException, and the
Can you post this exception here? Can you validate your original .gmfgraph
model?

-----------------
Alex Shatalin
Re: Generate Figures Plug-in [message #182246 is a reply to message #182228] Thu, 10 April 2008 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nico.lammers.gmail.com

Alex,

Apparently I had a label without a figure.

The validation went ok, as did normal diagram generation. But not the
Figures Plug-in generation..

I guess this is a bug? :)

~ Nico

Alex Shatalin wrote:
> Hello Nico,
>
>> During the codegeneration I get a NullReferenceException, and the
> Can you post this exception here? Can you validate your original
> .gmfgraph model?
>
> -----------------
> Alex Shatalin
>
>
Re: Generate Figures Plug-in [message #182266 is a reply to message #182246] Thu, 10 April 2008 13:50 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Nico,

Looks like. Generator behaviour should be consistent in both standalone-
and inner- figures generation.

-----------------
Alex Shatalin
Previous Topic:Starting thread after editor initialize
Next Topic:Re: create file
Goto Forum:
  


Current Time: Sat Apr 27 04:57:20 GMT 2024

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

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

Back to the top