Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Processing a key event during startup?
Processing a key event during startup? [message #543047] Mon, 28 June 2010 09:48 Go to next message
fwn  is currently offline fwn Friend
Messages: 10
Registered: January 2010
Junior Member
Hi,

In an RCP Application I'm working on I would like to present the user with a dialog if he presses a certain Key combination during startup, is there any way to do this?
I tried using a Bufferedreader opened in the preWindowOpen method of the ApplicationWorkbenchAdvisor but it won't work, the reader doesn't seem to contain any characters after startup.

Re: Processing a key event during startup? [message #543110 is a reply to message #543047] Mon, 28 June 2010 12:25 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you provide a splash handler there are ways of providing things like
a login dialog during startup ... I would have a look at splash handlers
and there examples.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Processing a key event during startup? [message #543137 is a reply to message #543110] Mon, 28 June 2010 14:29 Go to previous message
fwn  is currently offline fwn Friend
Messages: 10
Registered: January 2010
Junior Member
Thank you very much, I just read up on SplasHandlers and I think this should help me greatly! Smile
Previous Topic:Plugin from Jar
Next Topic:RCP product licence control
Goto Forum:
  


Current Time: Thu Apr 25 22:31:22 GMT 2024

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

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

Back to the top