|
Re: How to contribute to the Eclipse startup spashscreen? [message #332153 is a reply to message #332133] |
Tue, 07 October 2008 15:24   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03437 seconds