|
Re: generate an rcp application with emf [message #427060 is a reply to message #427058] |
Fri, 30 January 2009 12:16 |
Hossam Karim 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 |
Ed Merks 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/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03504 seconds