Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336825

Summary: Use Modules2.mixin() in Activators
Product: [Modeling] TMF Reporter: Karsten Thoms <karsten.thoms>
Component: XtextAssignee: 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:

Description Karsten Thoms CLA 2011-02-10 09:29:02 EST
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())
Comment 1 Sven Efftinge CLA 2011-03-26 15:32:37 EDT
Sorry, but this is not worth any effort.
Comment 2 Karsten Thoms CLA 2017-09-19 18:08:27 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 18:17:54 EDT
Closing all bugs that were set to RESOLVED before Neon.0