[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.tmf] Re: Where/How is an ISemanticHighlightingConfiguration registered?

Hi drew,

try to add the following in your class MyLangUiModule.

public class<? extends ISemanticHighlightingConfiguration> bindSHConfig() { // choose the method name as you like
return MyImplementation.class;
}


Please note that you'll have to implement and bind an ISemanticHighlightingCalculator as well.

There is a nice blog post available, too:
http://blogs.itemis.de/stundzig/archives/467

Hope that helps,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

drew schrieb:
Yes I read that before I asked the question. I still cannot figure out how where/how it gets registered.

"Sebastian Zarnekow" <Sebastian.Zarnekow@xxxxxxxxx> wrote in message news:h8dsh8$69n$1@xxxxxxxxxxxxxxxxxxxx
http://www.eclipse.org/Xtext/documentation/0_7_2/xtext.html#highlighting


Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com