[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Intro shown on every startup of RCP
|
It probably depends on your workbench advisor that you've written for the RCP (and indeed, assuming you've got one :-)
Have a look at the openIntro() method of WorkbenchWindowAdvisor:
http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/application/WorkbenchWindowAdvisor.html#openIntro()
"The default implementation opens the intro in the first window provided if the preference IWorkbenchPreferences.SHOW_INTRO is true. If an intro is shown then this preference will be set to false. Subsequently, and intro will be shown only if WorkbenchConfigurer.getSaveAndRestore() returns true and the introduction was visible on last shutdown. Subclasses may override."
This changed from 3.0 to 3.1 (before, it was elsewhere http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/application/WorkbenchAdvisor.html#openIntro(org.eclipse.ui.application.IWorkbenchWindowConfigurer)
You should be able to continue to use the old mechanism, but only if you've got the compatibility plugin loaded. If you're looking at supporting 3.1+, then switch to using the new method.
If you're already doing this, check what the preference for the IWorkbenchPreferences.SHOW_INTRO is being set to, and if it's being saved appropriately. (It could be that you're debugging and cleaning the workspace each time, for example ...)