Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » Problems regenerating the diagram code
Problems regenerating the diagram code [message #2728] Tue, 19 August 2008 16:32 Go to next message
Tobias Arnold is currently offline Tobias ArnoldFriend
Messages: 4
Registered: July 2009
Junior Member
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 19:57 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
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 19:57 Go to previous messageGo to next message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
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] Fri, 26 June 2015 03:21 Go to previous message
Tian Yuan is currently offline Tian YuanFriend
Messages: 2
Registered: June 2015
Junior Member
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: Thu Mar 28 20:04:06 GMT 2024

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

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

Back to the top