Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » generate an rcp application with emf
generate an rcp application with emf [message #427058] Fri, 30 January 2009 11:34 Go to next message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Hi list,

I am learning emf.I use Eclipse 3.4 on Linux.I read and do this tutorial
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.emf.doc/references/overview/EMF.html

I want to generate the rcp application of my "library" model, I read this
tutorial http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l.

But when I generate my code, I don't see the code below in the plugin.xml.

<extension
point="org.eclipse.core.runtime.applications"
id="LibraryEditorAdvisorApplication">
<application>
<run

class=" org.eclipse.example.library.presentation.LibraryEditorAdviso r$Application ">
</run>
</application>
</extension>

I don't understand how ?

When I want to run my application I don't see
"library.editor.LibraryEditorAdvisorApplication" in the run dialog. I can'
generate my rcp application.

Thanks in advance for your help.
Re: generate an rcp application with emf [message #427060 is a reply to message #427058] Fri, 30 January 2009 12:16 Go to previous messageGo to next message
Hossam Karim is currently offline Hossam KarimFriend
Messages: 26
Registered: July 2009
Junior Member
Brice,
In your GenModel, select the root element, and in the properties sheet,
then under the Editor category, switch 'Rich Client Platform' property to
true, now regenrate the editor, and run it as an Eclipse application.

Hossam Karim

On Fri, 30 Jan 2009 13:34:27 +0200, Brice Laurel <bricelaurel@gmail.com>
wrote:

> Hi list,
>
> I am learning emf.I use Eclipse 3.4 on Linux.I read and do this tutorial
> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.emf.doc/references/overview/EMF.html
> I want to generate the rcp application of my "library" model, I read
> this tutorial
> http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l.
>
> But when I generate my code, I don't see the code below in the
> plugin.xml.
>
> <extension
> point="org.eclipse.core.runtime.applications"
> id="LibraryEditorAdvisorApplication">
> <application>
> <run
>
> class=" org.eclipse.example.library.presentation.LibraryEditorAdviso r$Application ">
> </run>
> </application>
> </extension>
>
> I don't understand how ? When I want to run my application I don't see
> "library.editor.LibraryEditorAdvisorApplication" in the run dialog. I
> can' generate my rcp application.
>
> Thanks in advance for your help.
>
>
>
Re: generate an rcp application with emf [message #427062 is a reply to message #427060] Fri, 30 January 2009 13:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33216
Registered: July 2009
Senior Member
And also keep in mind that the plugin.xml won't regenerate once it
exists so you have to delete it to regenerate it...


Hossam Karim wrote:
> Brice,
> In your GenModel, select the root element, and in the properties
> sheet, then under the Editor category, switch 'Rich Client Platform'
> property to true, now regenrate the editor, and run it as an Eclipse
> application.
>
> Hossam Karim
>
> On Fri, 30 Jan 2009 13:34:27 +0200, Brice Laurel
> <bricelaurel@gmail.com> wrote:
>
>> Hi list,
>>
>> I am learning emf.I use Eclipse 3.4 on Linux.I read and do this
>> tutorial
>> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.emf.doc/references/overview/EMF.html
>> I want to generate the rcp application of my "library" model, I read
>> this tutorial
>> http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l.
>>
>> But when I generate my code, I don't see the code below in the
>> plugin.xml.
>>
>> <extension
>> point="org.eclipse.core.runtime.applications"
>> id="LibraryEditorAdvisorApplication">
>> <application>
>> <run
>>
>> class=" org.eclipse.example.library.presentation.LibraryEditorAdviso r$Application ">
>>
>> </run>
>> </application>
>> </extension>
>>
>> I don't understand how ? When I want to run my application I don't
>> see "library.editor.LibraryEditorAdvisorApplication" in the run
>> dialog. I can' generate my rcp application.
>>
>> Thanks in advance for your help.
>>
>>
>>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: generate an rcp application with emf [message #427097 is a reply to message #427062] Mon, 02 February 2009 06:21 Go to previous messageGo to next message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Thanks Ed Merks,

Now I generate the rcp application but I don't see file lib.library.
Is a download file or a generate file ?

Thanks in advance for your help.
Re: generate an rcp application with emf [message #427103 is a reply to message #427097] Mon, 02 February 2009 12:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33216
Registered: July 2009
Senior Member
Brice,

You use the "new model" wizard to create a new one as shown in the tutorial.


Brice Laurel wrote:
> Thanks Ed Merks,
>
> Now I generate the rcp application but I don't see file lib.library.
> Is a download file or a generate file ?
>
> Thanks in advance for your help.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: generate an rcp application with emf [message #427125 is a reply to message #427103] Tue, 03 February 2009 04:44 Go to previous message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Thanks Ed.
Previous Topic:emf batch delete very slow
Next Topic:[CDO] Performance issue and questions
Goto Forum:
  


Current Time: Thu Sep 19 08:02:43 GMT 2024

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

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

Back to the top