Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Intercepting the workbench thread before loading
Intercepting the workbench thread before loading [message #289878] Thu, 11 August 2005 20:29 Go to next message
Inocencio Richiez is currently offline Inocencio RichiezFriend
Messages: 9
Registered: July 2009
Junior Member
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 #289946 is a reply to message #289878] Mon, 15 August 2005 16:36 Go to previous message
Eclipse UserFriend
Originally posted by: bokowski.ca.ibm.com

You would have to show the dialog before PlatformUI.createAndRunWorkbench is
called. For this, you need to implement a custom application. Have a look
at IDEApplication from org.eclipse.ui.ide and how it opens a dialog to
prompt you for the workspace location.

Boris.

"Ino" <irichiez@us.ibm.com> wrote in message
news:63be60c7f2bdd19b4c92ad4bbcff3b34$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...
>
Previous Topic:Delete from explorer AND editor window
Next Topic:is there a dynamic PropertySheetPage implementation?
Goto Forum:
  


Current Time: Thu Apr 25 22:35:03 GMT 2024

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

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

Back to the top