Skip to main content



      Home
Home » Archived » Service Component Architecture (SCA) Tools » Problems regenerating the diagram code
Problems regenerating the diagram code [message #2728] Tue, 19 August 2008 12:32 Go to next message
Eclipse UserFriend
Hi,

first of all I want to say thank you for the great editor! I downloaded
the source and tried to regenerate the code. Regenerating sca.genmodel
works fine but regenerating the diagram code via sca.gmfgen results in
different code. WrapLabel seems to be replaced by WrappingLabel and
generates an error. If I resolve it manually the editor loads but looks a
bit different. Component Name isn't centered for example. Maybe I'm using
a different version of the GMF plugins (i'm using the newest version from
today). Could you tell me which version you use or what i am doing wrong?

thank you,

Tobias
Re: Problems regenerating the diagram code [message #2761 is a reply to message #2728] Wed, 20 August 2008 15:57 Go to previous messageGo to next message
Eclipse UserFriend
Tobias Arnold a écrit :
> Hi,
>
> first of all I want to say thank you for the great editor! I downloaded
> the source and tried to regenerate the code. Regenerating sca.genmodel
> works fine but regenerating the diagram code via sca.gmfgen results in
> different code. WrapLabel seems to be replaced by WrappingLabel and
> generates an error. If I resolve it manually the editor loads but looks
> a bit different. Component Name isn't centered for example. Maybe I'm
> using a different version of the GMF plugins (i'm using the newest
> version from today). Could you tell me which version you use or what i
> am doing wrong?
>
> thank you,
>
> Tobias
>

Hi Tobias,

To be compatible with GMF for Europa and for Ganymede, I had to copy the
class WrapLabel.
The contract of the class WrapLabel changed between the two versions of
GMF. As you said, for example, the component name isn't centered with
Ganymede.

After the generation, you can replace all WrapLabel/WrappingLabel
by
org.eclipse.stp.sca.gmf.runtime.draw2d.ui.figures.WrapLabel

Regards,

Stéphane Drapeau
Obeo
Re: Problems regenerating the diagram code [message #572914 is a reply to message #2728] Wed, 20 August 2008 15:57 Go to previous messageGo to next message
Eclipse UserFriend
Tobias Arnold a écrit :
> Hi,
>
> first of all I want to say thank you for the great editor! I downloaded
> the source and tried to regenerate the code. Regenerating sca.genmodel
> works fine but regenerating the diagram code via sca.gmfgen results in
> different code. WrapLabel seems to be replaced by WrappingLabel and
> generates an error. If I resolve it manually the editor loads but looks
> a bit different. Component Name isn't centered for example. Maybe I'm
> using a different version of the GMF plugins (i'm using the newest
> version from today). Could you tell me which version you use or what i
> am doing wrong?
>
> thank you,
>
> Tobias
>

Hi Tobias,

To be compatible with GMF for Europa and for Ganymede, I had to copy the
class WrapLabel.
The contract of the class WrapLabel changed between the two versions of
GMF. As you said, for example, the component name isn't centered with
Ganymede.

After the generation, you can replace all WrapLabel/WrappingLabel
by
org.eclipse.stp.sca.gmf.runtime.draw2d.ui.figures.WrapLabel

Regards,

Stéphane Drapeau
Obeo
Re: Problems regenerating the diagram code [message #1699702 is a reply to message #2728] Thu, 25 June 2015 23:21 Go to previous message
Eclipse UserFriend
could you please tell me how you regenerate the diagram code via sca.gmfgen?
Previous Topic:Extending the sca diagram editor
Next Topic:extending sca
Goto Forum:
  


Current Time: Sun Apr 20 23:11:53 EDT 2025

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

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

Back to the top