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

Bug 314091

Summary: IModelExtensions should be created through DI
Product: [Eclipse Project] e4 Reporter: Thomas Schindl <tom.schindl>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED FIXED QA Contact: Oleg Besedin <ob1.eclipse>
Severity: normal    
Priority: P3 CC: M.Tiedemann, ob1.eclipse
Version: 1.0   
Target Milestone: 1.0 RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 309867    
Bug Blocks:    
Attachments:
Description Flags
Patch - just in case it needs to be reversed none

Description Thomas Schindl CLA 2010-05-24 06:13:43 EDT
This would allow them to directly reference e.g. OSGi-Services, ... .
Comment 1 Paul Webster CLA 2010-05-28 08:35:05 EDT
My browser accidentally removed this.
PW
Comment 2 Oleg Besedin CLA 2010-06-24 15:30:11 EDT
Is this still valid? IModelExtension does not seem to be used anywhere anymore and model processors are called like this:

  ContextInjectionFactory.invoke(o, Execute.class, localContext);

(ModelAssembler#runProcessor()).
Comment 3 Thomas Schindl CLA 2010-06-25 04:17:55 EDT
You are right - We should remove the interface because it is not of any use
Comment 4 Oleg Besedin CLA 2010-06-25 10:12:08 EDT
Created attachment 172757 [details]
Patch - just in case it needs to be reversed
Comment 5 Oleg Besedin CLA 2010-06-25 10:12:43 EDT
Done.