Home » Modeling » GMF (Graphical Modeling Framework) » Labels for connections are missing with RC2 
 |   |  
| Re: Labels for connections are missing with RC2 [message #134242 is a reply to message #134191] | 
Sat, 09 June 2007 08:43    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 08:56    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 09:00    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 10:43    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 #136126 is a reply to message #136103] | 
Thu, 14 June 2007 16:14   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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
 |  
 |  
  |   
Goto Forum:
 
 Current Time: Tue Nov 04 02:10:01 EST 2025 
 Powered by  FUDForum. Page generated in 0.08654 seconds  
 |