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 12:43 |
|
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
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
Re: Labels for connections are missing with RC2 [message #134256 is a reply to message #134242] |
Sat, 09 June 2007 12:56 |
Richard Gronback 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 |
Richard Gronback 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 |
|
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
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
| | |
Re: Labels for connections are missing with RC2 [message #136103 is a reply to message #134924] |
Thu, 14 June 2007 15:09 |
Eclipse User |
|
|
|
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 |
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: Sat Nov 09 03:38:07 GMT 2024
Powered by FUDForum. Page generated in 0.04175 seconds
|