So when you create you part using the handler before showing it I'd also
set the informations instead of using the IEclipseContext.
The other option you have is to create an MInputPart which has a url field.
You better ask e4 questions on the e4 newsgroup.
Am 19.07.12 18:26, schrieb Valerio Santinelli:
> I'm slowly trying to port an existing RCP application to the 4.2
> framework and I can't understand one important thing.
> I have a handler that is being called to open a new part. Before showing
> the part, I inject the input needed by that part in the application
> context and then i show the part and it works fine.
> I then close the application and reopen it. When the application reopens
> the part that whose state was saved by the workbench, I get an error
> saying that it can't inject the input property because it can't be found
> in the context. How am I supposed to persist it?
> Thanks in advance!