Re: [equinox-dev] [launcher] Showsplash
James, The native code that is showing the early splash screen does not have support to change the bitmap that is being shown. This means that you need to wait until swt is available before it can be refreshed. With SWT I believe changing the image is just setting the BackgroundImage on the shell. The simplest way of contributing SWT to the splash screen is to use the workbench org.eclipse.ui.splashHandlers extension point and extend the EclipseSplashHandler class. The only problem is that the code that handles the osgi.splashPath and searches for NL variants (Main.getSplashLocation & Main.searchForSplash) is not available available outside of Main. You will probably have to do that search yourself. -Andrew James D Miles <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/06/2008 11:01 AM Please respond to Equinox development mailing list To equinox-dev@eclipse.org cc Subject [equinox-dev] [launcher] By using the -showsplash I can get an early splash screen. However when not using this mechanism we were able to set osgi.splashPath with a comma separated list of URLs. We still need the splash selection based on nl that we got when using osgi.splashPath. How can we get the splashpath bmp refreshed after early startup? The default behavior seems to be to continue using the early splash screen. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] [launcher] Showsplash
I am using a freeware tool (http://www.angusj.com/resourcehacker/) to modify our win32 NL for smartup so that is possible to change (branding) the splash screen and string resources without the need of recompiling our NL. However, this is not done at install time, although it might be possible, because this tool can run in command line mode. Just another thought. Jeff McAffer wrote: alternatively is it possible to have the installer configure the launcher with the right splash? of course that assumes that the NL is fixed from install time. Just a thought Jeff Andrew Niefer wrote: James, The native code that is showing the early splash screen does not have support to change the bitmap that is being shown. This means that you need to wait until swt is available before it can be refreshed. With SWT I believe changing the image is just setting the BackgroundImage on the shell. The simplest way of contributing SWT to the splash screen is to use the workbench org.eclipse.ui.splashHandlers extension point and extend the EclipseSplashHandler class. The only problem is that the code that handles the osgi.splashPath and searches for NL variants (Main.getSplashLocation & Main.searchForSplash) is not available available outside of Main. You will probably have to do that search yourself. -Andrew *James D Miles <[EMAIL PROTECTED]>* Sent by: [EMAIL PROTECTED] 02/06/2008 11:01 AM Please respond to Equinox development mailing list To equinox-dev@eclipse.org cc Subject [equinox-dev] [launcher] By using the -showsplash I can get an early splash screen. However when not using this mechanism we were able to set osgi.splashPath with a comma separated list of URLs. We still need the splash selection based on nl that we got when using osgi.splashPath. How can we get the splashpath bmp refreshed after early startup? The default behavior seems to be to continue using the early splash screen.___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] [launcher] Showsplash
Yes we could do something like that but we need it to change it based on nl. We currently have about 600K bmp for each language specific splash screen that we provide. So what would be better is if we could write the actual text in the SWTsplash window with the progress monitor. Then we would only need one bmp. Jeff McAffer <[EMAIL PROTECTED]> Sent by: To equinox-dev-bounc Equinox development mailing list [EMAIL PROTECTED] cc 02/07/2008 07:50 Subject AM Re: [equinox-dev] [launcher] Showsplash Please respond to Equinox development mailing list <[EMAIL PROTECTED] pse.org> alternatively is it possible to have the installer configure the launcher with the right splash? of course that assumes that the NL is fixed from install time. Just a thought Jeff Andrew Niefer wrote: > > James, > The native code that is showing the early splash screen does not have > support to change the bitmap that is being shown. This means that you > need to wait until swt is available before it can be refreshed. With > SWT I believe changing the image is just setting the BackgroundImage > on the shell. The simplest way of contributing SWT to the splash > screen is to use the workbench org.eclipse.ui.splashHandlers extension > point and extend the EclipseSplashHandler class. > > The only problem is that the code that handles the osgi.splashPath and > searches for NL variants (Main.getSplashLocation & > Main.searchForSplash) is not available available outside of Main. You > will probably have to do that search yourself. > > -Andrew > > > *James D Miles <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 02/06/2008 11:01 AM > Please respond to > Equinox development mailing list > > > > To >equinox-dev@eclipse.org > cc > > Subject >[equinox-dev] [launcher] > > > > > > > > > > By using the -showsplash I can get an early splash screen. However > when not using this mechanism we were able to set osgi.splashPath with > a comma separated list of URLs. We still need the splash selection > based on nl that we got when using osgi.splashPath. How can we get the > splashpath bmp refreshed after early startup? The default behavior > seems to be to continue using the early splash > screen.___ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev > > > > ___ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev > ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev <><><>___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] [launcher] Showsplash
In the case of the splash screen, it is a simple line in the eclipse.ini file which indicates the splash bitmap to use. The difference between an english and a german splash screen could be as simple as -showsplash org.foo.branding/en/splash.bmp -showsplash org.foo.branding/de/splash.bmp I expect that since the launcher fragments can contribute --launcher.library lines to the .ini file, it should be possible for branding IUs to contribute -showsplash. Though I'm not sure if a single IU can contribute different arguments depending on a platform/nl filter, it might require branding fragments? -Andrew Stefan Liebig <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/07/2008 09:44 AM Please respond to Equinox development mailing list To Equinox development mailing list cc Subject Re: [equinox-dev] [launcher] Showsplash I am using a freeware tool (http://www.angusj.com/resourcehacker/) to modify our win32 NL for smartup so that is possible to change (branding) the splash screen and string resources without the need of recompiling our NL. However, this is not done at install time, although it might be possible, because this tool can run in command line mode. Just another thought. Jeff McAffer wrote: > alternatively is it possible to have the installer configure the > launcher with the right splash? of course that assumes that the NL is > fixed from install time. Just a thought > > Jeff > > Andrew Niefer wrote: >> >> James, >> The native code that is showing the early splash screen does not have >> support to change the bitmap that is being shown. This means that >> you need to wait until swt is available before it can be refreshed. >> With SWT I believe changing the image is just setting the >> BackgroundImage on the shell. The simplest way of contributing SWT >> to the splash screen is to use the workbench >> org.eclipse.ui.splashHandlers extension point and extend the >> EclipseSplashHandler class. >> >> The only problem is that the code that handles the osgi.splashPath >> and searches for NL variants (Main.getSplashLocation & >> Main.searchForSplash) is not available available outside of Main. >> You will probably have to do that search yourself. >> >> -Andrew >> >> >> *James D Miles <[EMAIL PROTECTED]>* >> Sent by: [EMAIL PROTECTED] >> >> 02/06/2008 11:01 AM >> Please respond to >> Equinox development mailing list >> >> >> >> To >> equinox-dev@eclipse.org >> cc >> >> Subject >> [equinox-dev] [launcher] >> >> >> >> >> >> >> >> >> >> By using the -showsplash I can get an early splash screen. However >> when not using this mechanism we were able to set osgi.splashPath >> with a comma separated list of URLs. We still need the splash >> selection based on nl that we got when using osgi.splashPath. How can >> we get the splashpath bmp refreshed after early startup? The default >> behavior seems to be to continue using the early splash >> screen.___ >> equinox-dev mailing list >> equinox-dev@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/equinox-dev >> >> >> >> ___ >> equinox-dev mailing list >> equinox-dev@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/equinox-dev >> > ___ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] [launcher] Showsplash
alternatively is it possible to have the installer configure the launcher with the right splash? of course that assumes that the NL is fixed from install time. Just a thought Jeff Andrew Niefer wrote: James, The native code that is showing the early splash screen does not have support to change the bitmap that is being shown. This means that you need to wait until swt is available before it can be refreshed. With SWT I believe changing the image is just setting the BackgroundImage on the shell. The simplest way of contributing SWT to the splash screen is to use the workbench org.eclipse.ui.splashHandlers extension point and extend the EclipseSplashHandler class. The only problem is that the code that handles the osgi.splashPath and searches for NL variants (Main.getSplashLocation & Main.searchForSplash) is not available available outside of Main. You will probably have to do that search yourself. -Andrew *James D Miles <[EMAIL PROTECTED]>* Sent by: [EMAIL PROTECTED] 02/06/2008 11:01 AM Please respond to Equinox development mailing list To equinox-dev@eclipse.org cc Subject [equinox-dev] [launcher] By using the -showsplash I can get an early splash screen. However when not using this mechanism we were able to set osgi.splashPath with a comma separated list of URLs. We still need the splash selection based on nl that we got when using osgi.splashPath. How can we get the splashpath bmp refreshed after early startup? The default behavior seems to be to continue using the early splash screen.___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] [launcher] Showsplash
Sure then you can do it the way that Andrew suggested. Essentially come up with a non-localised splash and write in localized info when SWT is up. Or you can tell the launcher to not show the splash and put it up the old way after some delay while Java starts. Jeff James D Miles wrote: Yes we could do something like that but we need it to change it based on nl. We currently have about 600K bmp for each language specific splash screen that we provide. So what would be better is if we could write the actual text in the SWTsplash window with the progress monitor. Then we would only need one bmp. Inactive hide details for Jeff McAffer <[EMAIL PROTECTED]>Jeff McAffer <[EMAIL PROTECTED]> *Jeff McAffer <[EMAIL PROTECTED]>* Sent by: [EMAIL PROTECTED] 02/07/2008 07:50 AM Please respond to Equinox development mailing list To Equinox development mailing list cc Subject Re: [equinox-dev] [launcher] Showsplash alternatively is it possible to have the installer configure the launcher with the right splash? of course that assumes that the NL is fixed from install time. Just a thought Jeff Andrew Niefer wrote: > > James, > The native code that is showing the early splash screen does not have > support to change the bitmap that is being shown. This means that you > need to wait until swt is available before it can be refreshed. With > SWT I believe changing the image is just setting the BackgroundImage > on the shell. The simplest way of contributing SWT to the splash > screen is to use the workbench org.eclipse.ui.splashHandlers extension > point and extend the EclipseSplashHandler class. > > The only problem is that the code that handles the osgi.splashPath and > searches for NL variants (Main.getSplashLocation & > Main.searchForSplash) is not available available outside of Main. You > will probably have to do that search yourself. > > -Andrew > > > *James D Miles <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 02/06/2008 11:01 AM > Please respond to > Equinox development mailing list > > > > To > equinox-dev@eclipse.org > cc > > Subject > [equinox-dev] [launcher] > > > > > > > > > > By using the -showsplash I can get an early splash screen. However > when not using this mechanism we were able to set osgi.splashPath with > a comma separated list of URLs. We still need the splash selection > based on nl that we got when using osgi.splashPath. How can we get the > splashpath bmp refreshed after early startup? The default behavior > seems to be to continue using the early splash > screen.___ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev > > > > ___ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev > ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev