|
sharing initialization data across Editors [message #464466 is a reply to message #464465] |
Thu, 08 March 2007 02:40 |
Eclipse User |
|
|
|
Originally posted by: cszamudio.msn.com
Hi. I am having trouble figuring this one out and I'm wondering if anyone
has solved this.
What I'd like to be able to do is on RCP application startup, download some
dynamic initialization information from a database and share this data
across the views in a Perspective. Any suggestions on where I can place
this data so that it is accessible to any instance of an Editor? Thanks.
Carlos
|
|
|
Re: How to disable closing of Welcome screen [message #464468 is a reply to message #464465] |
Thu, 08 March 2007 08:31 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
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!
|
|
|
two mode of rcp application..? [message #464482 is a reply to message #464468] |
Thu, 08 March 2007 13:35 |
Eclipse User |
|
|
|
Originally posted by: fermi.inetmon.com
Hi,
It possible to have like two mode of operation of rcp application. So it
will receive arguments from user and based on the argument then the
application is run either in console mode or GUI mode (standard).
i.e., Application.exe -nogui ===> console mode
Application.exe -gui ===> GUI mode.
or maybe if I can call the main RCP app class, the one that implements
IPlatformRunnable, this things can worked..
any idea..?
--
Fermi
|
|
|
Re: How to disable closing of Welcome screen [message #464486 is a reply to message #464468] |
Thu, 08 March 2007 21:54 |
No real name Messages: 38 Registered: July 2009 |
Member |
|
|
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.05105 seconds