Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Java Application
Java Application [message #151991] Sat, 22 September 2007 11:07 Go to next message
Eclipse UserFriend
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 #152046 is a reply to message #151991] Mon, 24 September 2007 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

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.

HTH,

Christian


Tomas Zijdemans wrote:

> I would like to run my editor as a java application, what main class
> should I use?
>
> Cheers
Re: Java Application [message #152051 is a reply to message #152046] Mon, 24 September 2007 10:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

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 .... :(
Re: Java Application [message #152147 is a reply to message #152051] Tue, 25 September 2007 10:54 Go to previous message
Eclipse UserFriend
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 .... :(
Previous Topic:Left to Right Alignment
Next Topic:Add min/max handle to node with compartment
Goto Forum:
  


Current Time: Fri Jul 18 01:58:48 EDT 2025

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

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

Back to the top