| ViewPart's @PostConstruct createControls() not called [message #1001493] |
Wed, 16 January 2013 15:24  |
Joel Becker Messages: 13 Registered: December 2012 |
Junior Member |
|
|
Hi,
I defined a MPartDescriptor in my Application.e4xmi, then in a Handler I get an EPartService injected which I use to createPart() and showPart(). I can then get my actual ViewPart impl object from mpart.getObject(). The problem I have though is that my ViewPart class's createControls() is never called. It is annotated with @PostConstruct (the ViewPart class was created with the Eclipse 4 ViewPart wizard). Any ideas how I can get the method to be called? (I can't call it myself because I don't have the parent Composite that must be passed in...)
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01667 seconds