How @Inject ParseHelper<> is supposed to work ? [message #902319] |
Thu, 16 August 2012 23:35  |
Eclipse User |
|
|
|
Hi,
I've create a test using only one ParseHelper and it worked. But when I tryed to add two parsers, both points to same class (ParserHelp<Library>). They have different object Id numbers (at debug) but same fileExtension.
In my case Company model is being imported in Library DSL.
I couldn't find where and how ParseHelper is binded.
Could someone explain me?
thanks
class TestComponentTemplateLibraryParsing extends AbstractXtextCommonTest {
@Inject
ParseHelper<Library> parserLibrary
@Inject
ParseHelper<Company> parserOrg
[Updated on: Thu, 16 August 2012 23:50] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05212 seconds