Never mind :-).
I had the method
public void initialize(IWorkbenchConfigurer configurer) {
configurer.setSaveAndRestore(true);
}
and had run the program -- it seems to have saved it state -- without
the contacts view.
Well, this helped me out.
Thanks
> Never mind :-).
>
[quoted text clipped - 6 lines]
> and had run the program -- it seems to have saved it state -- without
> the contacts view.
egarson@gmail.com - 24 May 2006 22:20 GMT
Yep, me too :-)
By carefully following the example you will not see the Contacts view.
This is because the first task in beginning of chapter 5 is to call the
setSaveAndRestore() method which causes the Workbench to save settings
on shutdown. On subsequent invocations, the Workbench loads these
settings and bypass the IPerspectiveFactory which is only consulted the
first time the perspective is created.
This definitely belongs in the errata section for this book! There will
be lots of head scratching over this.
Edward