Re: [equinox-dev] [launcher] Showsplash

2008-02-07 Thread Stefan Liebig
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 equinox-dev@eclipse.org



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

2008-02-07 Thread James D Miles





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]equinox-dev@eclipse.org   
cc
   
 02/07/2008 07:50  Subject
 AMRe: [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 equinox-dev@eclipse.org



 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
inline: graycol.gifinline: pic26828.gifinline: ecblank.gif___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] [launcher] Showsplash

2008-02-07 Thread Andrew Niefer
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 equinox-dev@eclipse.org


To
Equinox development mailing list equinox-dev@eclipse.org
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 equinox-dev@eclipse.org


 
 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

2008-02-07 Thread Jeff McAffer
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 equinox-dev@eclipse.org



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

2008-02-07 Thread Jeff McAffer
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
equinox-dev@eclipse.org



To

Equinox development mailing list equinox-dev@eclipse.org

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 equinox-dev@eclipse.org



 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

2008-02-06 Thread Andrew Niefer
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 equinox-dev@eclipse.org


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