Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to contribute to the Eclipse startup spashscreen?
How to contribute to the Eclipse startup spashscreen? [message #332133] Mon, 06 October 2008 16:02 Go to next message
Jan Kohnert is currently offline Jan KohnertFriend
Messages: 196
Registered: July 2009
Senior Member
Hello,

How can I contribute my custom starting opperations to the eclipse start
splash screen? Is this possible?

Thanks, Jan
Re: How to contribute to the Eclipse startup spashscreen? [message #332153 is a reply to message #332133] Tue, 07 October 2008 15:24 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Use the New Project Wizard to create an RCP application from one of the
templates. Create a new .product file for that project and on the
splash tab choose a template. Synchronize the .product file from the
overview tab and you should get some code changes including a
*.splashHandlers package.

You can then use that project as an example on how to contribute to the
workbench's org.eclipse.ui.splashHandlers extension point.

-Andew

Jan Kohnert wrote:
> Hello,
>
> How can I contribute my custom starting opperations to the eclipse start
> splash screen? Is this possible?
>
> Thanks, Jan
>
Re: How to contribute to the Eclipse startup spashscreen? [message #332161 is a reply to message #332153] Tue, 07 October 2008 19:23 Go to previous messageGo to next message
Jan Kohnert is currently offline Jan KohnertFriend
Messages: 196
Registered: July 2009
Senior Member
Andew,

Thank you for your help! The examples show perfectly fine how to create a
custom splashscreen and what can be done using the extension point.
In my case this solutions seem to be a bit overambitious for my needs.
Maybe creating my own splashscreen might be the only solution to
contribute to it but I had hoped to be able to use the default
splashscreen since all I want is to execute some jobs that I want to have
named in the splashcreens progressbar. Just like Eclipse does when loading
the workbench printing something like "loading Workbench" and progressing
the progressbar in the same time.
In the past this was possible using StartupProgressMonitor but this class
seems to be disappeared lately (Eclipse 3.x?).

Further more using the example provided by the splash templates includes
creating a custom AbstractSplashHandler implementation. I might be wrong
since I'm not perfectly covered with knowledge about hat topic (thats the
reason why I'm wrinting this :) ), but does'nt mean implementing a custom
AbstractSplashHandler , that I won'nt be able to contribute jobs to the
splashscreens progressbar when using my plugins outside a rich client
application? My thoughs faced into the direction that I hoped to be able
to communicate delayed startup time caused by some plugins no matter if
the plugins are loaded within a RCP or a 'normal' Eclipse as long they are
showing a progressbar at startup.

Jan
Re: How to contribute to the Eclipse startup spashscreen? [message #332179 is a reply to message #332161] Wed, 08 October 2008 17:04 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
There is a BasicSplashHandler class which extends AbstractSplashHandler.
It does the progress monitor. You can look at extending it instead of
AbstractSplashHandler directly.

-Andrew

Jan Kohnert wrote:
> Andew,
>
> Thank you for your help! The examples show perfectly fine how to create
> a custom splashscreen and what can be done using the extension point. In
> my case this solutions seem to be a bit overambitious for my needs.
> Maybe creating my own splashscreen might be the only solution to
> contribute to it but I had hoped to be able to use the default
> splashscreen since all I want is to execute some jobs that I want to
> have named in the splashcreens progressbar. Just like Eclipse does when
> loading the workbench printing something like "loading Workbench" and
> progressing the progressbar in the same time.
> In the past this was possible using StartupProgressMonitor but this
> class seems to be disappeared lately (Eclipse 3.x?).
>
> Further more using the example provided by the splash templates includes
> creating a custom AbstractSplashHandler implementation. I might be wrong
> since I'm not perfectly covered with knowledge about hat topic (thats
> the reason why I'm wrinting this :) ), but does'nt mean implementing a
> custom AbstractSplashHandler , that I won'nt be able to contribute jobs
> to the splashscreens progressbar when using my plugins outside a rich
> client application? My thoughs faced into the direction that I hoped to
> be able to communicate delayed startup time caused by some plugins no
> matter if the plugins are loaded within a RCP or a 'normal' Eclipse as
> long they are showing a progressbar at startup.
> Jan
>
Previous Topic:Contributing command to popup submenu
Next Topic:Debugging plugin loading issues
Goto Forum:
  


Current Time: Fri Nov 08 23:37:12 GMT 2024

Powered by FUDForum. Page generated in 0.03071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top