[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Labels show as <...>

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.ParserProvider

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.