Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Labels for connections are missing with RC2
Labels for connections are missing with RC2 [message #133592] Thu, 07 June 2007 09:19 Go to next message
Jens Bachmann is currently offline Jens BachmannFriend
Messages: 52
Registered: July 2009
Member
Hi,

I've submitted a bugzilla for this problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=191437
My solution is to change the createFigure() method of label's editparts
with old generated code of RC1. This works.

Regards,
Jens
Re: Labels for connections are missing with RC2 [message #134191 is a reply to message #133592] Fri, 08 June 2007 18:26 Go to previous messageGo to next message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
It turned out the old logic had some (unpleasant) dependency of processing
order which may lead to either incorrect figure being created (behavior one
may observe in builds prior to RC2) or no figure created at all, assigned by
parent (which is correct behavior, though there are few missed pieces that
were uncovered with RC2 change). We'll fix it with RC3, stay tuned.

Thank you,
Artem

"Jens Bachmann" <jens-bachmann@gmx.de> wrote in message
news:f48igs$4vc$1@build.eclipse.org...
> Hi,
>
> I've submitted a bugzilla for this problem:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=191437
> My solution is to change the createFigure() method of label's editparts
> with old generated code of RC1. This works.
>
> Regards,
> Jens
Re: Labels for connections are missing with RC2 [message #134242 is a reply to message #134191] Sat, 09 June 2007 12:43 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1814
Registered: July 2009
Location: Firenze, Italy
Senior Member
Is the following problem related to this one?

I'm experiencing another problem with the GMF tutorial (I'm using GMF
2RC): the generated visual editor does not show the label of the Topic
(although it permits inserting a label and actually shows the label
value in the property view)

see the image: http://img519.imageshack.us/img519/6048/nolabelshownin3.png

I've also tried with mindmap_tutorial_1.zip project, although I had to
re-generate the Diagram Editor Gen Model due to errors (e.g., the use
of "out_taget" which is mispelled) and then generate the Diagram editor code
but the problem is still the same.

Notice that by using the Diagram editor code that comes with
mindmap_tutorial_1.zip everything works fine, so I guess it's a problem
introduced in GMF generation wizards lately.

Artem Tikhomirov wrote:
> It turned out the old logic had some (unpleasant) dependency of processing
> order which may lead to either incorrect figure being created (behavior one
> may observe in builds prior to RC2) or no figure created at all, assigned by
> parent (which is correct behavior, though there are few missed pieces that
> were uncovered with RC2 change). We'll fix it with RC3, stay tuned.
>
> Thank you,
> Artem
>
> "Jens Bachmann" <jens-bachmann@gmx.de> wrote in message
> news:f48igs$4vc$1@build.eclipse.org...
>> Hi,
>>
>> I've submitted a bugzilla for this problem:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=191437
>> My solution is to change the createFigure() method of label's editparts
>> with old generated code of RC1. This works.
>>
>> Regards,
>> Jens
>
>


--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: Labels for connections are missing with RC2 [message #134256 is a reply to message #134242] Sat, 09 June 2007 12:56 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
This was recently fixed and works in the latest builds:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=191303

Best,
Rich


On 6/9/07 8:43 AM, in article f4e7ae$hhn$1@build.eclipse.org, "Lorenzo
Bettini" <bettini@dsi.unifi.it> wrote:

> Is the following problem related to this one?
>
> I'm experiencing another problem with the GMF tutorial (I'm using GMF
> 2RC): the generated visual editor does not show the label of the Topic
> (although it permits inserting a label and actually shows the label
> value in the property view)
>
> see the image: http://img519.imageshack.us/img519/6048/nolabelshownin3.png
>
> I've also tried with mindmap_tutorial_1.zip project, although I had to
> re-generate the Diagram Editor Gen Model due to errors (e.g., the use
> of "out_taget" which is mispelled) and then generate the Diagram editor code
> but the problem is still the same.
>
> Notice that by using the Diagram editor code that comes with
> mindmap_tutorial_1.zip everything works fine, so I guess it's a problem
> introduced in GMF generation wizards lately.
>
> Artem Tikhomirov wrote:
>> It turned out the old logic had some (unpleasant) dependency of processing
>> order which may lead to either incorrect figure being created (behavior one
>> may observe in builds prior to RC2) or no figure created at all, assigned by
>> parent (which is correct behavior, though there are few missed pieces that
>> were uncovered with RC2 change). We'll fix it with RC3, stay tuned.
>>
>> Thank you,
>> Artem
>>
>> "Jens Bachmann" <jens-bachmann@gmx.de> wrote in message
>> news:f48igs$4vc$1@build.eclipse.org...
>>> Hi,
>>>
>>> I've submitted a bugzilla for this problem:
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=191437
>>> My solution is to change the createFigure() method of label's editparts
>>> with old generated code of RC1. This works.
>>>
>>> Regards,
>>> Jens
>>
>>
>
Re: Labels for connections are missing with RC2 [message #134269 is a reply to message #134256] Sat, 09 June 2007 13:00 Go to previous messageGo to next message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
By the way, you can work around it easily enough by just adding a FlowLayout
to the Topic rectangle.

- Rich


On 6/9/07 8:56 AM, in article C2901BD4.171FC%richard.gronback@borland.com,
"Richard Gronback" <richard.gronback@borland.com> wrote:

> This was recently fixed and works in the latest builds:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=191303
>
> Best,
> Rich
>
>
> On 6/9/07 8:43 AM, in article f4e7ae$hhn$1@build.eclipse.org, "Lorenzo
> Bettini" <bettini@dsi.unifi.it> wrote:
>
>> Is the following problem related to this one?
>>
>> I'm experiencing another problem with the GMF tutorial (I'm using GMF
>> 2RC): the generated visual editor does not show the label of the Topic
>> (although it permits inserting a label and actually shows the label
>> value in the property view)
>>
>> see the image: http://img519.imageshack.us/img519/6048/nolabelshownin3.png
>>
>> I've also tried with mindmap_tutorial_1.zip project, although I had to
>> re-generate the Diagram Editor Gen Model due to errors (e.g., the use
>> of "out_taget" which is mispelled) and then generate the Diagram editor code
>> but the problem is still the same.
>>
>> Notice that by using the Diagram editor code that comes with
>> mindmap_tutorial_1.zip everything works fine, so I guess it's a problem
>> introduced in GMF generation wizards lately.
>>
>> Artem Tikhomirov wrote:
>>> It turned out the old logic had some (unpleasant) dependency of processing
>>> order which may lead to either incorrect figure being created (behavior one
>>> may observe in builds prior to RC2) or no figure created at all, assigned by
>>> parent (which is correct behavior, though there are few missed pieces that
>>> were uncovered with RC2 change). We'll fix it with RC3, stay tuned.
>>>
>>> Thank you,
>>> Artem
>>>
>>> "Jens Bachmann" <jens-bachmann@gmx.de> wrote in message
>>> news:f48igs$4vc$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> I've submitted a bugzilla for this problem:
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=191437
>>>> My solution is to change the createFigure() method of label's editparts
>>>> with old generated code of RC1. This works.
>>>>
>>>> Regards,
>>>> Jens
>>>
>>>
>>
>
Re: Labels for connections are missing with RC2 [message #134282 is a reply to message #134256] Sat, 09 June 2007 14:43 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1814
Registered: July 2009
Location: Firenze, Italy
Senior Member
mhhh... I'm pretty sure I performed the update yesterday... so I should
have the latetest build I guess...

Richard Gronback wrote:
> This was recently fixed and works in the latest builds:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=191303
>
> Best,
> Rich
>
>
> On 6/9/07 8:43 AM, in article f4e7ae$hhn$1@build.eclipse.org, "Lorenzo
> Bettini" <bettini@dsi.unifi.it> wrote:
>
>> Is the following problem related to this one?
>>
>> I'm experiencing another problem with the GMF tutorial (I'm using GMF
>> 2RC): the generated visual editor does not show the label of the Topic
>> (although it permits inserting a label and actually shows the label
>> value in the property view)
>>
>> see the image: http://img519.imageshack.us/img519/6048/nolabelshownin3.png
>>
>> I've also tried with mindmap_tutorial_1.zip project, although I had to
>> re-generate the Diagram Editor Gen Model due to errors (e.g., the use
>> of "out_taget" which is mispelled) and then generate the Diagram editor code
>> but the problem is still the same.
>>
>> Notice that by using the Diagram editor code that comes with
>> mindmap_tutorial_1.zip everything works fine, so I guess it's a problem
>> introduced in GMF generation wizards lately.
>>



--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: Labels for connections are missing with RC2 [message #134803 is a reply to message #134282] Tue, 12 June 2007 08:13 Go to previous messageGo to next message
Tex Twil is currently offline Tex TwilFriend
Messages: 179
Registered: July 2009
Senior Member
Hello,
I also updated o RC2 today and I still have this bug !
Re: Labels for connections are missing with RC2 [message #134924 is a reply to message #134803] Tue, 12 June 2007 09:50 Go to previous messageGo to next message
Jens Bachmann is currently offline Jens BachmannFriend
Messages: 52
Registered: July 2009
Member
Hi,

I downloaded the last nightly build (N20070612) from GMF Homepage and my
problem with labels of connections is solved.
Thanks to the developers ;)
So I'm looking forward to RC3 of GMF.

Regards,
Jens
Re: Labels for connections are missing with RC2 [message #136103 is a reply to message #134924] Thu, 14 June 2007 15:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbecker.ipd.uka.de

Hi,

I also had many problems:
* Link labels lead to NullPointerExceptions on initialising diagrams
(same as Jens' problem)
* Compartment labels gone (same as bug 191303)
and additionally:
* even normal node labels vanished for nodes which have more than a
single label as children

I'll try N20071406 soon to see whether it works there again.

Cheers,
Steffen
Re: Labels for connections are missing with RC2 [message #136126 is a reply to message #136103] Thu, 14 June 2007 20:14 Go to previous message
Eclipse UserFriend
Originally posted by: sbecker.ipd.uka.de

Hi,

here are my results, not all are good news:

> * Link labels lead to NullPointerExceptions on initialising diagrams
> (same as Jens' problem)
Is not resolved here for N20071406, but I get a different exception now

> * Compartment labels gone (same as bug 191303)
Is also not resolved, should I reopen it or wait until RC3?

> and additionally:
> * even normal node labels vanished for nodes which have more than a
> single label as children
This works again.

> I'll try N20071406 soon to see whether it works there again.

Cheers,
Steffen
Previous Topic:ParserProvider - any examples ?
Next Topic:how to get notified about editor change with partitioned diagram
Goto Forum:
  


Current Time: Sat Nov 09 03:39:58 GMT 2024

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

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

Back to the top