Labels show as <...> [message #195403] |
Wed, 02 July 2008 15:02 |
Eclipse User |
|
|
|
Originally posted by: frank.favanoo.com
All of the labels in my GMF diagram are being shown as '<...>', instead of
the actual named value from the model.
I'm not sure if it matters, but we created the editor so that the model
and diagram are contained in a single file.
Can anyone point me in the right direction in trying to debug this problem?
Also, this seems to be a version / conflict problem, as it works fine when
deployed into Europa, but not into a Rational version of Eclipse... is
there a specific release of EMF/GEF/GMF we need to get label support?
Thank you,
|
|
|
|
Re: Labels show as <...> [message #195457 is a reply to message #195450] |
Wed, 02 July 2008 18:24 |
Eclipse User |
|
|
|
Originally posted by: frank.favanoo.com
I verified that everything is linked up, and also verified that it works
perfectly on a base Europa install. The same build shows as <...> in the
Rational tools (RSA 7.0.0.7 & RSM 7.0.5 - RSM has the same version of GMF
installed as Europa (2.0.1))
Any other ideas on how I can debug this problem? What class(es) are the
probable culprits?
|
|
|
|
|
Re: Labels show as <...> [message #196550 is a reply to message #195457] |
Thu, 10 July 2008 18:53 |
Eclipse User |
|
|
|
Originally posted by: frank.favanoo.com
I found the problem if anyone is interested...
The problem was with the Parser Providers. In the generated code, it
executes a search for the FIRST matching "provider" by priority (HIGHEST,
HIGH, MEDIUM, LOW, LOWEST). When running in the Rational runtime, an
object of this class was always being returned:
com.ibm.xtools.uml.core.internal.providers.parser.ParserProv ider
It seems like this class returns "true" to just about everything, even if
it has no clue about the target class and how to actually provide it's
label... it seems to be a "catch all".
So, I found that when it generates these "providers", it sets their
priority to "Lowest". All I had to do was change the generated
plug-in.xml file to bump up their priorities so that they match before the
troublesome IBM one does.
|
|
|
Powered by
FUDForum. Page generated in 0.02558 seconds