How to disable closing of Welcome screen [message #464465] |
Wed, 07 March 2007 17:14  |
Eclipse User |
|
|
|
I have an RCP application that I license via software keys. For new
(e.g., currently unlicensed) users, I enable only a small bit of
functionality -- the ability to register/license the software.
I have a custom Intro plugin that tells users what to do if they're
running unlicensed. I only have a couple of actions defined in this
case -- exit, register, about.
I would like to disable closing of the Welcome screen in this case. Is
there a way of doing that programmatically. If the user is running a
licensed/registered copy, then the Welcome screen should then be closable.
Thanks!
|
|
|
|
|
|
Re: How to disable closing of Welcome screen [message #464486 is a reply to message #464468] |
Thu, 08 March 2007 16:54  |
Eclipse User |
|
|
|
Ah, thanks. I'll look into that.
RN
Peter Osipov wrote:
> Hello!
> Well, you do not have to mess with welcome page.
> Before the workbench appears you can show your own dialog asking to
> register and if registered you can start your application.
> This is how it is done with login, for example. I think you can put your
> dialog in IPlatformRunnable#run() before starting the workbench, but I
> do not remember that for sure. All I know is that it can be done that way.
> RacerNewbie wrote:
>> I have an RCP application that I license via software keys. For new
>> (e.g., currently unlicensed) users, I enable only a small bit of
>> functionality -- the ability to register/license the software.
>>
>> I have a custom Intro plugin that tells users what to do if they're
>> running unlicensed. I only have a couple of actions defined in this
>> case -- exit, register, about.
>>
>> I would like to disable closing of the Welcome screen in this case.
>> Is there a way of doing that programmatically. If the user is running
>> a licensed/registered copy, then the Welcome screen should then be
>> closable.
>> Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.07031 seconds