Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Note Attachment disappears
Note Attachment disappears [message #171732] Thu, 07 February 2008 06:47 Go to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi,

According to this message
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg07088.html I
checked the bugzilla and I saw that this problem was already fixed.

Can I access the new build already from somewhere or do I have to wait for
the GMF 2.0.2 maintenance release?

I tried the GMF 2.1 M4 that came out in January but the attachment note
still disappears...

Thanks,

Marsha
Re: Note Attachment disappears [message #171740 is a reply to message #171732] Thu, 07 February 2008 07:36 Go to previous messageGo to next message
Eclipse UserFriend
Hello Marsha,

This problem was fixed quite some time ago, so it should be inluded into
the latest GMF builds..
Important: you have to regenerate diagramming code with new GMF to make it
working.

-----------------
Alex Shatalin
Re: Note Attachment disappears [message #171764 is a reply to message #171740] Thu, 07 February 2008 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi Alex,

Thanks.

Alex Shatalin wrote:

> Important: you have to regenerate diagramming code with new GMF to make it
> working.
That's what I forgot.

What I did is I revalidated the gmfmap. Then I regenerated the gmfgen and
the diagram code. Now I experience the problem that
org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel cannot be
resolved. I installed the GMF-sdk-2.1M4.zip that should include everything.

Can you tell me where this problem comes from? Apparently the WrapLabel
was changed into WrappingLabel no?

Thank you,

Marsha
Re: Note Attachment disappears [message #171772 is a reply to message #171764] Thu, 07 February 2008 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hello Marsha,

Looks like WrapLabel should be in GMF - this class was just deprecated..
In any case - try re-generating .gmfgen from .gmfmap.

-----------------
Alex Shatalin
Re: Note Attachment disappears [message #171780 is a reply to message #171772] Thu, 07 February 2008 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi

> Looks like WrapLabel should be in GMF - this class was just deprecated.
> In any case - try re-generating .gmfgen from .gmfmap.

That's what I did. And I don't have problems with the WrapLabel (this was
used before I re generated the code, and as you say it is deprected now).
After re generating the Wrapping Label is being used...which cannot be
resolved for some reason...

Thanks,
Marsha
Re: Note Attachment disappears [message #171785 is a reply to message #171780] Thu, 07 February 2008 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Marsha wrote:
>...the Wrapping Label is being used...which cannot be
> resolved for some reason...

I found the solution:
GMF2.1M4 needs GEF 3.4.0 and draw2d 3.4.0 to be installed, which is not
included in the GMF-sdk-2.1M4.zip. I supposed that it was.
Re: Note Attachment disappears [message #171842 is a reply to message #171740] Fri, 08 February 2008 04:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi Alex,

Sorry its me again. I don't want to use the milestone release 2.1M4 at the
moment since GEF 3.4.0 is quite different.

So based on your answer I downloaded the maintenance build from February
7th. Then I re generated my gmfgen from gmfmap. Now I'm experiencing a
strange problem. The note attatchment now disappears already when the
xxx_diagram file is being saved.

Can you imagine what went wrong?

Thanks,
Marsha
Re: Note Attachment disappears [message #171850 is a reply to message #171842] Fri, 08 February 2008 05:01 Go to previous messageGo to next message
Eclipse UserFriend
Hello Marsha,

Can you check note on ecore diagram in this version?

-----------------
Alex Shatalin
Re: Note Attachment disappears [message #171866 is a reply to message #171850] Fri, 08 February 2008 06:43 Go to previous message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi,

Alex Shatalin wrote:

> Can you check note on ecore diagram in this version?
I'm not quite sure if I got the question right. I tried to create a note
and attach it to one of my EClasses in the .ecore_diagram definition of my
editor. And also here the attachment disappears when refreshing / re-open
the file.

Do you thing that some plug-ins from the maintenance release are not
resolved properly?

Thanks,
marsha
Previous Topic:GMF Serialization
Next Topic:How to open a custom dialog for a property in a Custom Property Tab?
Goto Forum:
  


Current Time: Fri May 09 16:00:03 EDT 2025

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

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

Back to the top