Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Intercepting the workbench thread before loading
Intercepting the workbench thread before loading [message #435298] Thu, 11 August 2005 16:39 Go to next message
Eclipse UserFriend
I'm using a startup plugin to popup a dialog at the starup of the
workbench launch. Based on the selection of this dialog, I want to load
(show) the workbench or not. The workbench right now is showing up any how
so that's one of my problem. How can I stop the UI (workbench) from coming
up while the dialog (MessageDialog) is running waiting for a selection
from the user? and how do I gracefully shutdown or close anything that has
been loaded in the background?

Thanks...
Re: Intercepting the workbench thread before loading [message #435299 is a reply to message #435298] Thu, 11 August 2005 17:07 Go to previous messageGo to next message
Eclipse UserFriend
Richiez,

Look into
http://www.eclipsecon.org/2005/presentations/EclipseCon2005_ Tutorial26Final.pdf

at slide # 106/107. This might help you - it describes how authentication
can be implemented on startup.

Stefan


"Richiez" <irichiez@us.ibm.com> schrieb im Newsbeitrag
news:5aa1e77923f3dfeaf3774429039f11e2$1@www.eclipse.org...
> I'm using a startup plugin to popup a dialog at the starup of the
> workbench launch. Based on the selection of this dialog, I want to load
> (show) the workbench or not. The workbench right now is showing up any how
> so that's one of my problem. How can I stop the UI (workbench) from coming
> up while the dialog (MessageDialog) is running waiting for a selection
> from the user? and how do I gracefully shutdown or close anything that has
> been loaded in the background?
>
> Thanks...
>
Re: Intercepting the workbench thread before loading [message #435305 is a reply to message #435298] Thu, 11 August 2005 21:32 Go to previous message
Eclipse UserFriend
Since in RCP you are in charge of showing the workbench, why don't you
do something in your application's main (ie: the class that implements
the org.eclipse.core.runtime.applications extension point).

Richiez wrote:
> I'm using a startup plugin to popup a dialog at the starup of the
> workbench launch. Based on the selection of this dialog, I want to load
> (show) the workbench or not. The workbench right now is showing up any
> how so that's one of my problem. How can I stop the UI (workbench) from
> coming up while the dialog (MessageDialog) is running waiting for a
> selection from the user? and how do I gracefully shutdown or close
> anything that has been loaded in the background?
>
> Thanks...
>
Previous Topic:RCP MultiPageFormEditor KeyBinding Issue
Next Topic:How to get reference to an ActionSet ?
Goto Forum:
  


Current Time: Sat Nov 08 13:40:53 EST 2025

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

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

Back to the top