Community
Participate
Working Groups
Now that I can finally maximize views in 4.1, it'd be great if the live editor could be opened as a part.
The problem i see with this is that the opening of the LiveDialog currently extends the IEclipseContext and pushes in there special values: -----------8<----------- final IEclipseContext childContext = application.getContext() .createChild("EditorContext"); MemoryModelResource resource = new MemoryModelResource(application); childContext.set(IModelResource.class, resource); // ... ContextInjectionFactory.make(ApplicationModelEditor.class, childContext); -----------8<----------- The problem is that i case of a MPart i don't control lifecycle and so can't push things into the IEclipseContext prior to creation. The only solution I see at the moment is to create a delegator class which does that and creates the real instance.
You can open the View using CTRL/CMD+3 and enter "Live Application Model"