On 20.07.2011 20:51, Thorsten Arendt wrote:
> I am using dynamic parts via a PartDesriptor and an injected
> EPartService which inserts a new part to a PartStack by
> Unfortunately, when I close the main window and relaunch the application
> I get a NullPointer since the content of each dynamic part is set by the
> active selection of another part in the sash.
> My question is: How can I tear down / destroy the dynamic parts when
> closing the main window in order to get an empty PartStack at every
> system launch?
Thank You very much!
This exactly solves my problem...
On 12.08.2011 17:28, Ben Roling wrote:
> I think Tom's E4 tutorial  might give you an idea. Search for
> LifecycleHandler in the tutorial.