| Summary: | Use Modules2.mixin() in Activators | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Karsten Thoms <karsten.thoms> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 1.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
Sorry, but this is not worth any effort. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
In the UI Activator class the injector is created using Module.override() like this Modules.override(Modules.override(getRuntimeModule("x.y.z.MyDsl")).with(getUiModule("x.y.z.MyDsl"))).with(getSharedStateModule()) The code would be better readable if Modules2.mixin() is used: Modules2.mixin(getRuntimeModule("x.y.z.MyDsl"), getUiModule("x.y.z.MyDsl"), getSharedStateModule())