Java Application [message #151991] |
Sat, 22 September 2007 11:07  |
Eclipse User |
|
|
|
Originally posted by: trommas.yahoo.com
I would like to run my editor as a java application, what main class
should I use?
Cheers
|
|
|
|
|
Re: Java Application [message #152147 is a reply to message #152051] |
Tue, 25 September 2007 10:54  |
Eclipse User |
|
|
|
Originally posted by: trommas.yahoo.com
Found some nice guides to make rcp standalone, installable and platform
independent. Check out:
http://www.instantiations.com/rcpdeveloper/demos.html
But I still wonder how I can launch my editor with a parameter.
Providing the parameter through JFace should be simple enough, but then
how do I change my code to handle the parameter?
Regards
Tomas
Tomas Zijdemans wrote:
> Christian W. Damus wrote:
>> Hi, Tomas,
>>
>> I think GMF at least requires Eclipse RCP, so you can't just run your
>> editor
>> as a simple Java application with your own main class. Eclipse RCP
>> provides the main class. Use the "Eclipse Application" launch
>> configuration when you run, and select your application extension from
>> the
>> list.
>>
>
> Thanks for answering Christian!
>
> Hmm.. I run my editor in Eclipse Application and RCP (very nice tools),
> but I need to launch my editor from another environment - First from
> Protege.
>
> If GMF-based editors can't be launched outside the eclipse environment -
> my master thesis is in a bit of trouble .... :(
|
|
|
Powered by
FUDForum. Page generated in 0.27646 seconds