Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF] Generate RAP instead of RCP
[EMF] Generate RAP instead of RCP [message #102371] Mon, 12 November 2007 10:26 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

Has anyone looked at generating a RAP based viewing application rather
than a RCP based on from the ECore model? If not then can someone
outline the parts of the code that would need to change to accommodate
such a change?

Thx.

David
Re: [EMF] Generate RAP instead of RCP [message #102398 is a reply to message #102371] Mon, 12 November 2007 12:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

David,

I was told RAP folks, but have not confirmed myself, that a generated
EMF editor (they didn't specify RCP or otherwise) generally works except
for some issues with cell editors in the properties view. Probably it's
best just to try it and report back the problems you find. Then we can
think about how best to help address those.


david wrote:
> Hi,
>
> Has anyone looked at generating a RAP based viewing application rather
> than a RCP based on from the ECore model? If not then can someone
> outline the parts of the code that would need to change to accommodate
> such a change?
>
> Thx.
>
> David
>
Re: [EMF] Generate RAP instead of RCP [message #103345 is a reply to message #102398] Wed, 21 November 2007 00:08 Go to previous messageGo to next message
Reinhold Bihler is currently offline Reinhold BihlerFriend
Messages: 64
Registered: July 2009
Member
David,

I also would like to know how a EMF.editor can be turned into a
RAP application. At Eclipse Summit Europe I talked with the RAP folks.
They said that it should be no problem in principle. There might only be
some detail issues with some not so common widgets. They couldn't
give a more specific answer at that point because they were not that
familar with EMF.

A tutorial or a how-to about turning a EMF.editor into a RAP application
would be cool. Maybe the RAP folks can give more specific info now
so I added this post to their newsgroup.

I could provide a EMF.editor sample plugin and maybe a RAP expert
could transfrom it into a RAP application and document how it is done?

Regards,

Reinhold


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fh9gfn$bg7$3@build.eclipse.org...
> David,
>
> I was told RAP folks, but have not confirmed myself, that a generated EMF
> editor (they didn't specify RCP or otherwise) generally works except for
> some issues with cell editors in the properties view. Probably it's best
> just to try it and report back the problems you find. Then we can think
> about how best to help address those.
>
>
> david wrote:
>> Hi,
>>
>> Has anyone looked at generating a RAP based viewing application rather
>> than a RCP based on from the ECore model? If not then can someone outline
>> the parts of the code that would need to change to accommodate such a
>> change?
>>
>> Thx.
>>
>> David
>>
Re: [EMF] Generate RAP instead of RCP [message #103446 is a reply to message #102398] Wed, 21 November 2007 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ronbermejo.yahoo.com

Ed Merks wrote:

> David,

> I was told RAP folks, but have not confirmed myself, that a generated
> EMF editor (they didn't specify RCP or otherwise) generally works except
> for some issues with cell editors in the properties view. Probably it's
> best just to try it and report back the problems you find. Then we can
> think about how best to help address those.


> david wrote:
>> Hi,
>>
>> Has anyone looked at generating a RAP based viewing application rather
>> than a RCP based on from the ECore model? If not then can someone
>> outline the parts of the code that would need to change to accommodate
>> such a change?
>>
>> Thx.
>>
>> David
>>

Hi, guys!


I tried to generate a RAP application with the library model example.


The .model and .edit plugins were easy to integrate. I just added the ff
plugins to the target platform:

org.eclipse.emf.common
org.eclipse.emf.ecore
org.eclipse.emf.ecore.xmi
org.eclipse.emf.edit


Then generated it from the .genmodel as per normal.
(I suppose, at this point, some useful RAP+EMF applications can already be
built...)


Somewhat expectedly, the generated .editor was a bit more problematic.
For starters, it had dependencies on
org.eclipse.emf.edit.ui
org.eclipse.emf.common.ui

both of which had 'Require-Bundle' on org.eclipse.ui.* plugins. I
temporarily changed their manifest.mfs to use org.eclipse.rap.ui.*
instead. I guess in the future we can either separate the emf.ui plugins,
or use Import-Package instead of Require-Bundle. (Though I'm not sure of
the effects of these).


Afterwards, there were still some compile problems, mostly due to
widgets/classes not being available in RAP. For example, FileDialog is not
available. Not such a big problem, though, I commented those out for now.

Next I had to change the RCP Application class from IApplication to
IEntryPoint which is the equivalent in RAP, and added the entrypoint
extension to plugin.xml.

At this point I was able to run the app and see it on my browser (great!).
It looks similar to a generated RCP application. However, when I opened an
editor there were some runtime errors.

java.lang.NoSuchFieldError: DELETE
at
org.eclipse.emf.edit.ui.action.EditingDomainActionBarContrib utor.init
(EditingDomainActionBarContributor.java:150)

ActionFactory.DELETE wasn't found in the RAP classes. Fine. I removed the
EditorActionBarContributor temporarily. The next one was:

java.lang.NoClassDefFoundError: org/eclipse/swt/events/MouseListener
at
org.examples.library.presentation.LibraryEditor.createPages( LibraryEditor.java:891)

This was due to the ViewerPane class from emf.ui. I also removed it
temporarily and finally I was able to see the (familiar) tree view editor
in my browser!

And, as Ed mentioned, I also had some problems with the properties view.
No properties appeared whenever I select an object in the editor. I'm not
sure if this is the same, though, since Ed mentioned cell editors. I
wasn't able to perform much editing too (because I removed the
ActionBarContributor), but it should be easy to add in the future.

That's about it... Anybody else have other (hopefully more successful)
experiences? :-)

Ron
Re: [EMF] Generate RAP instead of RCP [message #103634 is a reply to message #103345] Fri, 23 November 2007 15:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

I've been working with EMF quite a while and it would be very interesting to
see how much is missing to get a sample editor working. From my point of
view I see at least two problems:

1.) missing cell editors => RAP's property view is read-only. Editing of
model element attributes would not work
2.) Workspace is shared between sessions => the same file could be opened
multiple times for editing - this could lead to a lot of unfortunate
consequences...

But still you never know before you have tried. So feel free to send me a
simple sample editor and I will see what I can find out.


Ciao
Frank


"Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
news:fhvsun$6sm$1@build.eclipse.org...
> David,
>
> I also would like to know how a EMF.editor can be turned into a
> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
> They said that it should be no problem in principle. There might only be
> some detail issues with some not so common widgets. They couldn't
> give a more specific answer at that point because they were not that
> familar with EMF.
>
> A tutorial or a how-to about turning a EMF.editor into a RAP application
> would be cool. Maybe the RAP folks can give more specific info now
> so I added this post to their newsgroup.
>
> I could provide a EMF.editor sample plugin and maybe a RAP expert
> could transfrom it into a RAP application and document how it is done?
>
> Regards,
>
> Reinhold
>
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fh9gfn$bg7$3@build.eclipse.org...
>> David,
>>
>> I was told RAP folks, but have not confirmed myself, that a generated EMF
>> editor (they didn't specify RCP or otherwise) generally works except for
>> some issues with cell editors in the properties view. Probably it's best
>> just to try it and report back the problems you find. Then we can think
>> about how best to help address those.
>>
>>
>> david wrote:
>>> Hi,
>>>
>>> Has anyone looked at generating a RAP based viewing application rather
>>> than a RCP based on from the ECore model? If not then can someone
>>> outline the parts of the code that would need to change to accommodate
>>> such a change?
>>>
>>> Thx.
>>>
>>> David
>>>
>
>
Re: [EMF] Generate RAP instead of RCP [message #103648 is a reply to message #103634] Sat, 24 November 2007 15:30 Go to previous messageGo to next message
Reinhold Bihler is currently offline Reinhold BihlerFriend
Messages: 64
Registered: July 2009
Member
Frank,

I made a new entry in the eclipse wiki that describes how to generate the
editor
and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
I also uploaded a zip file to the wiki that contains the generated plugins.
http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip

It would be really cool if you (or somebody else) could turn this plugins
into RAP applications and document how this is done on that wiki page!

To edit the wiki page you need a eclipse bugzilla account which can be
registered here: https://bugs.eclipse.org/bugs/createaccount.cgi

> 1.) missing cell editors => RAP's property view is read-only. Editing of
> model element attributes would not work

This limits the editor to a viewer but the RAP team will probably implement
editing in the future?

Best Regards,

Reinhold

> 2.) Workspace is shared between sessions => the same file could be opened
> multiple times for editing - this could lead to a lot of unfortunate
> consequences...
>
> But still you never know before you have tried. So feel free to send me a
> simple sample editor and I will see what I can find out.
>
>
> Ciao
> Frank
>
>
> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
> news:fhvsun$6sm$1@build.eclipse.org...
>> David,
>>
>> I also would like to know how a EMF.editor can be turned into a
>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>> They said that it should be no problem in principle. There might only be
>> some detail issues with some not so common widgets. They couldn't
>> give a more specific answer at that point because they were not that
>> familar with EMF.
>>
>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>> would be cool. Maybe the RAP folks can give more specific info now
>> so I added this post to their newsgroup.
>>
>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>> could transfrom it into a RAP application and document how it is done?
>>
>> Regards,
>>
>> Reinhold
>>
>>
>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>> news:fh9gfn$bg7$3@build.eclipse.org...
>>> David,
>>>
>>> I was told RAP folks, but have not confirmed myself, that a generated
>>> EMF editor (they didn't specify RCP or otherwise) generally works except
>>> for some issues with cell editors in the properties view. Probably it's
>>> best just to try it and report back the problems you find. Then we can
>>> think about how best to help address those.
>>>
>>>
>>> david wrote:
>>>> Hi,
>>>>
>>>> Has anyone looked at generating a RAP based viewing application rather
>>>> than a RCP based on from the ECore model? If not then can someone
>>>> outline the parts of the code that would need to change to accommodate
>>>> such a change?
>>>>
>>>> Thx.
>>>>
>>>> David
>>>>
>>
>>
>
>
Re: [EMF] Generate RAP instead of RCP [message #104078 is a reply to message #103648] Mon, 03 December 2007 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

I did some first investigations on that topic and it seems that this will
take some more effort than I assumed. There are at least hacks of
org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
necessary to have a chance to get things somewhat working. I will not go
into detail here since I'm still too far away to draw any conclusions
whether it will work or not at the end. Unfortunately I don't have the time
to dig deeper into this at the moment, so results will take some time.

Ciao
Frank

"Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
news:fi9g3c$aib$1@build.eclipse.org...
> Frank,
>
> I made a new entry in the eclipse wiki that describes how to generate the
> editor
> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
> I also uploaded a zip file to the wiki that contains the generated
> plugins.
> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>
> It would be really cool if you (or somebody else) could turn this plugins
> into RAP applications and document how this is done on that wiki page!
>
> To edit the wiki page you need a eclipse bugzilla account which can be
> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>
>> 1.) missing cell editors => RAP's property view is read-only. Editing of
>> model element attributes would not work
>
> This limits the editor to a viewer but the RAP team will probably
> implement
> editing in the future?
>
> Best Regards,
>
> Reinhold
>
>> 2.) Workspace is shared between sessions => the same file could be opened
>> multiple times for editing - this could lead to a lot of unfortunate
>> consequences...
>>
>> But still you never know before you have tried. So feel free to send me a
>> simple sample editor and I will see what I can find out.
>>
>>
>> Ciao
>> Frank
>>
>>
>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>> news:fhvsun$6sm$1@build.eclipse.org...
>>> David,
>>>
>>> I also would like to know how a EMF.editor can be turned into a
>>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>>> They said that it should be no problem in principle. There might only be
>>> some detail issues with some not so common widgets. They couldn't
>>> give a more specific answer at that point because they were not that
>>> familar with EMF.
>>>
>>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>>> would be cool. Maybe the RAP folks can give more specific info now
>>> so I added this post to their newsgroup.
>>>
>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>> could transfrom it into a RAP application and document how it is done?
>>>
>>> Regards,
>>>
>>> Reinhold
>>>
>>>
>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>> David,
>>>>
>>>> I was told RAP folks, but have not confirmed myself, that a generated
>>>> EMF editor (they didn't specify RCP or otherwise) generally works
>>>> except for some issues with cell editors in the properties view.
>>>> Probably it's best just to try it and report back the problems you
>>>> find. Then we can think about how best to help address those.
>>>>
>>>>
>>>> david wrote:
>>>>> Hi,
>>>>>
>>>>> Has anyone looked at generating a RAP based viewing application rather
>>>>> than a RCP based on from the ECore model? If not then can someone
>>>>> outline the parts of the code that would need to change to accommodate
>>>>> such a change?
>>>>>
>>>>> Thx.
>>>>>
>>>>> David
>>>>>
>>>
>>>
>>
>>
>
>
Re: [EMF] Generate RAP instead of RCP [message #104092 is a reply to message #104078] Mon, 03 December 2007 15:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------080909060103020903060906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Frank,

I have quite a bit of time over Christmas to hack on anything I want
because it's personal time. I'd be most interested in helping out with
this. If I had a little help getting started on how to set things up on
the RAP side of things (to test it out and understand where things are
working poorly right now) I could likely make good progress on the EMF
side of things. (I'm also interested in the GWT stuff that Tom Schindl
is working on; he's going help get me started with a bit of spoon
feeding as well.)


Frank Appel wrote:
> Hi,
>
> I did some first investigations on that topic and it seems that this will
> take some more effort than I assumed. There are at least hacks of
> org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
> necessary to have a chance to get things somewhat working. I will not go
> into detail here since I'm still too far away to draw any conclusions
> whether it will work or not at the end. Unfortunately I don't have the time
> to dig deeper into this at the moment, so results will take some time.
>
> Ciao
> Frank
>
> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
> news:fi9g3c$aib$1@build.eclipse.org...
>
>> Frank,
>>
>> I made a new entry in the eclipse wiki that describes how to generate the
>> editor
>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>> I also uploaded a zip file to the wiki that contains the generated
>> plugins.
>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>
>> It would be really cool if you (or somebody else) could turn this plugins
>> into RAP applications and document how this is done on that wiki page!
>>
>> To edit the wiki page you need a eclipse bugzilla account which can be
>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>
>>
>>> 1.) missing cell editors => RAP's property view is read-only. Editing of
>>> model element attributes would not work
>>>
>> This limits the editor to a viewer but the RAP team will probably
>> implement
>> editing in the future?
>>
>> Best Regards,
>>
>> Reinhold
>>
>>
>>> 2.) Workspace is shared between sessions => the same file could be opened
>>> multiple times for editing - this could lead to a lot of unfortunate
>>> consequences...
>>>
>>> But still you never know before you have tried. So feel free to send me a
>>> simple sample editor and I will see what I can find out.
>>>
>>>
>>> Ciao
>>> Frank
>>>
>>>
>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>
>>>> David,
>>>>
>>>> I also would like to know how a EMF.editor can be turned into a
>>>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>>>> They said that it should be no problem in principle. There might only be
>>>> some detail issues with some not so common widgets. They couldn't
>>>> give a more specific answer at that point because they were not that
>>>> familar with EMF.
>>>>
>>>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>> so I added this post to their newsgroup.
>>>>
>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>> could transfrom it into a RAP application and document how it is done?
>>>>
>>>> Regards,
>>>>
>>>> Reinhold
>>>>
>>>>
>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>
>>>>> David,
>>>>>
>>>>> I was told RAP folks, but have not confirmed myself, that a generated
>>>>> EMF editor (they didn't specify RCP or otherwise) generally works
>>>>> except for some issues with cell editors in the properties view.
>>>>> Probably it's best just to try it and report back the problems you
>>>>> find. Then we can think about how best to help address those.
>>>>>
>>>>>
>>>>> david wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Has anyone looked at generating a RAP based viewing application rather
>>>>>> than a RCP based on from the ECore model? If not then can someone
>>>>>> outline the parts of the code that would need to change to accommodate
>>>>>> such a change?
>>>>>>
>>>>>> Thx.
>>>>>>
>>>>>> David
>>>>>>
>>>>>>
>>>>
>>>
>>
>
>
>


--------------080909060103020903060906
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frank,<br>
<br>
I have quite a bit of time over Christmas to hack on anything I want
because it's personal time.&nbsp; I'd be most interested in helping out with
this.&nbsp; If I had a little help getting started on how to set things up
on the RAP side of things (to test it out and understand where things
are working poorly right now) I could likely make good progress on the
EMF side of things.&nbsp; (I'm also interested in the GWT stuff that Tom
Schindl is working on; he's going help get me started with a bit of
spoon feeding as well.)<br>
<br>
<br>
Frank Appel wrote:
<blockquote cite="mid:fj12qa$3tg$1@build.eclipse.org" type="cite">
<pre wrap="">Hi,

I did some first investigations on that topic and it seems that this will
take some more effort than I assumed. There are at least hacks of
org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
necessary to have a chance to get things somewhat working. I will not go
into detail here since I'm still too far away to draw any conclusions
whether it will work or not at the end. Unfortunately I don't have the time
to dig deeper into this at the moment, so results will take some time.

Ciao
Frank

"Reinhold Bihler" <a class="moz-txt-link-rfc2396E" href="mailto:reinhold.bihler@gmx.de">&lt;reinhold.bihler@gmx.de&gt;</a> schrieb im Newsbeitrag
<a class="moz-txt-link-freetext" href="news:fi9g3c$aib$1@build.eclipse.org">news:fi9g3c$aib$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Frank,

I made a new entry in the eclipse wiki that describes how to generate the
editor
and how to use it. See <a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/EMF_Editor_goes_RAP">http://wiki.eclipse.org/EMF_Editor_goes_RAP</a>
I also uploaded a zip file to the wiki that contains the generated
plugins.
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip">http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip</a>

It would be really cool if you (or somebody else) could turn this plugins
into RAP applications and document how this is done on that wiki page!

To edit the wiki page you need a eclipse bugzilla account which can be
registered here: <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/createaccount.cgi">https://bugs.eclipse.org/bugs/createaccount.cgi</a>

</pre>
<blockquote type="cite">
<pre wrap="">1.) missing cell editors =&gt; RAP's property view is read-only. Editing of
model element attributes would not work
</pre>
</blockquote>
<pre wrap="">This limits the editor to a viewer but the RAP team will probably
implement
editing in the future?

Best Regards,

Reinhold

</pre>
<blockquote type="cite">
<pre wrap="">2.) Workspace is shared between sessions =&gt; the same file could be opened
multiple times for editing - this could lead to a lot of unfortunate
consequences...

But still you never know before you have tried. So feel free to send me a
simple sample editor and I will see what I can find out.


Ciao
Frank


"Reinhold Bihler" <a class="moz-txt-link-rfc2396E" href="mailto:reinhold.bihler@gmx.de">&lt;reinhold.bihler@gmx.de&gt;</a> schrieb im Newsbeitrag
<a class="moz-txt-link-freetext" href="news:fhvsun$6sm$1@build.eclipse.org">news:fhvsun$6sm$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">David,

I also would like to know how a EMF.editor can be turned into a
RAP application. At Eclipse Summit Europe I talked with the RAP folks.
They said that it should be no problem in principle. There might only be
some detail issues with some not so common widgets. They couldn't
give a more specific answer at that point because they were not that
familar with EMF.

A tutorial or a how-to about turning a EMF.editor into a RAP application
would be cool. Maybe the RAP folks can give more specific info now
so I added this post to their newsgroup.

I could provide a EMF.editor sample plugin and maybe a RAP expert
could transfrom it into a RAP application and document how it is done?

Regards,

Reinhold


"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fh9gfn$bg7$3@build.eclipse.org">news:fh9gfn$bg7$3@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">David,

I was told RAP folks, but have not confirmed myself, that a generated
EMF editor (they didn't specify RCP or otherwise) generally works
except for some issues with cell editors in the properties view.
Probably it's best just to try it and report back the problems you
find. Then we can think about how best to help address those.


david wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

Has anyone looked at generating a RAP based viewing application rather
than a RCP based on from the ECore model? If not then can someone
outline the parts of the code that would need to change to accommodate
such a change?

Thx.

David

</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------080909060103020903060906--
Re: [EMF] Generate RAP instead of RCP [message #104102 is a reply to message #104092] Mon, 03 December 2007 22:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jkrause.innoopract.com

Hi Ed,

I would like to suggest to dedicate an hour (or more as needed) for this
next week. We could sit together before or after the Runtime Summit and
do an initial setup and some hacking. Just be aware that my EMF
knowledge is pretty superficial.

Would that work for you?

Jochen


Ed Merks wrote:
> Frank,
>
> I have quite a bit of time over Christmas to hack on anything I want
> because it's personal time. I'd be most interested in helping out with
> this. If I had a little help getting started on how to set things up on
> the RAP side of things (to test it out and understand where things are
> working poorly right now) I could likely make good progress on the EMF
> side of things. (I'm also interested in the GWT stuff that Tom Schindl
> is working on; he's going help get me started with a bit of spoon
> feeding as well.)
>
>
> Frank Appel wrote:
>> Hi,
>>
>> I did some first investigations on that topic and it seems that this will
>> take some more effort than I assumed. There are at least hacks of
>> org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
>> necessary to have a chance to get things somewhat working. I will not go
>> into detail here since I'm still too far away to draw any conclusions
>> whether it will work or not at the end. Unfortunately I don't have the time
>> to dig deeper into this at the moment, so results will take some time.
>>
>> Ciao
>> Frank
>>
>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>> news:fi9g3c$aib$1@build.eclipse.org...
>>
>>> Frank,
>>>
>>> I made a new entry in the eclipse wiki that describes how to generate the
>>> editor
>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>> I also uploaded a zip file to the wiki that contains the generated
>>> plugins.
>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>
>>> It would be really cool if you (or somebody else) could turn this plugins
>>> into RAP applications and document how this is done on that wiki page!
>>>
>>> To edit the wiki page you need a eclipse bugzilla account which can be
>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>
>>>
>>>> 1.) missing cell editors => RAP's property view is read-only. Editing of
>>>> model element attributes would not work
>>>>
>>> This limits the editor to a viewer but the RAP team will probably
>>> implement
>>> editing in the future?
>>>
>>> Best Regards,
>>>
>>> Reinhold
>>>
>>>
>>>> 2.) Workspace is shared between sessions => the same file could be opened
>>>> multiple times for editing - this could lead to a lot of unfortunate
>>>> consequences...
>>>>
>>>> But still you never know before you have tried. So feel free to send me a
>>>> simple sample editor and I will see what I can find out.
>>>>
>>>>
>>>> Ciao
>>>> Frank
>>>>
>>>>
>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>>
>>>>> David,
>>>>>
>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>>>>> They said that it should be no problem in principle. There might only be
>>>>> some detail issues with some not so common widgets. They couldn't
>>>>> give a more specific answer at that point because they were not that
>>>>> familar with EMF.
>>>>>
>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>> so I added this post to their newsgroup.
>>>>>
>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>> could transfrom it into a RAP application and document how it is done?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Reinhold
>>>>>
>>>>>
>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>
>>>>>> David,
>>>>>>
>>>>>> I was told RAP folks, but have not confirmed myself, that a generated
>>>>>> EMF editor (they didn't specify RCP or otherwise) generally works
>>>>>> except for some issues with cell editors in the properties view.
>>>>>> Probably it's best just to try it and report back the problems you
>>>>>> find. Then we can think about how best to help address those.
>>>>>>
>>>>>>
>>>>>> david wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Has anyone looked at generating a RAP based viewing application rather
>>>>>>> than a RCP based on from the ECore model? If not then can someone
>>>>>>> outline the parts of the code that would need to change to accommodate
>>>>>>> such a change?
>>>>>>>
>>>>>>> Thx.
>>>>>>>
>>>>>>> David
>>>>>>>
>>>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>
Re: [EMF] Generate RAP instead of RCP [message #104112 is a reply to message #104102] Mon, 03 December 2007 22:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jochen,

This sounds like fun! We can take our complementary in-depth and
superficial knowledge and combine it into a fully in-depth whole. If
the result is that I have a setup I can use on my machine to play with
this stuff that will be most excellent. We can talk about strategies
for longer term support. Perhaps we need specialized RAP flavors for
some of these GUI components (as we need for GWT)...

I'm really looking forward to next week. See you there!


Jochen Krause wrote:
> Hi Ed,
>
> I would like to suggest to dedicate an hour (or more as needed) for
> this next week. We could sit together before or after the Runtime
> Summit and do an initial setup and some hacking. Just be aware that my
> EMF knowledge is pretty superficial.
>
> Would that work for you?
>
> Jochen
>
>
> Ed Merks wrote:
>> Frank,
>>
>> I have quite a bit of time over Christmas to hack on anything I want
>> because it's personal time. I'd be most interested in helping out
>> with this. If I had a little help getting started on how to set
>> things up on the RAP side of things (to test it out and understand
>> where things are working poorly right now) I could likely make good
>> progress on the EMF side of things. (I'm also interested in the GWT
>> stuff that Tom Schindl is working on; he's going help get me started
>> with a bit of spoon feeding as well.)
>>
>>
>> Frank Appel wrote:
>>> Hi,
>>>
>>> I did some first investigations on that topic and it seems that this
>>> will take some more effort than I assumed. There are at least hacks
>>> of org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and
>>> org.eclipse.ui.ide necessary to have a chance to get things somewhat
>>> working. I will not go into detail here since I'm still too far away
>>> to draw any conclusions whether it will work or not at the end.
>>> Unfortunately I don't have the time to dig deeper into this at the
>>> moment, so results will take some time.
>>>
>>> Ciao
>>> Frank
>>>
>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>> news:fi9g3c$aib$1@build.eclipse.org...
>>>
>>>> Frank,
>>>>
>>>> I made a new entry in the eclipse wiki that describes how to
>>>> generate the editor
>>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>>> I also uploaded a zip file to the wiki that contains the generated
>>>> plugins.
>>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>>
>>>> It would be really cool if you (or somebody else) could turn this
>>>> plugins
>>>> into RAP applications and document how this is done on that wiki page!
>>>>
>>>> To edit the wiki page you need a eclipse bugzilla account which can be
>>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>>
>>>>
>>>>> 1.) missing cell editors => RAP's property view is read-only.
>>>>> Editing of model element attributes would not work
>>>>>
>>>> This limits the editor to a viewer but the RAP team will probably
>>>> implement
>>>> editing in the future?
>>>>
>>>> Best Regards,
>>>>
>>>> Reinhold
>>>>
>>>>
>>>>> 2.) Workspace is shared between sessions => the same file could be
>>>>> opened multiple times for editing - this could lead to a lot of
>>>>> unfortunate consequences...
>>>>>
>>>>> But still you never know before you have tried. So feel free to
>>>>> send me a simple sample editor and I will see what I can find out.
>>>>>
>>>>>
>>>>> Ciao
>>>>> Frank
>>>>>
>>>>>
>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>>>
>>>>>> David,
>>>>>>
>>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP
>>>>>> folks.
>>>>>> They said that it should be no problem in principle. There might
>>>>>> only be
>>>>>> some detail issues with some not so common widgets. They couldn't
>>>>>> give a more specific answer at that point because they were not that
>>>>>> familar with EMF.
>>>>>>
>>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP
>>>>>> application
>>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>>> so I added this post to their newsgroup.
>>>>>>
>>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>>> could transfrom it into a RAP application and document how it is
>>>>>> done?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Reinhold
>>>>>>
>>>>>>
>>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>>
>>>>>>> David,
>>>>>>>
>>>>>>> I was told RAP folks, but have not confirmed myself, that a
>>>>>>> generated EMF editor (they didn't specify RCP or otherwise)
>>>>>>> generally works except for some issues with cell editors in the
>>>>>>> properties view. Probably it's best just to try it and report
>>>>>>> back the problems you find. Then we can think about how best to
>>>>>>> help address those.
>>>>>>>
>>>>>>>
>>>>>>> david wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Has anyone looked at generating a RAP based viewing application
>>>>>>>> rather than a RCP based on from the ECore model? If not then
>>>>>>>> can someone outline the parts of the code that would need to
>>>>>>>> change to accommodate such a change?
>>>>>>>>
>>>>>>>> Thx.
>>>>>>>>
>>>>>>>> David
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
Re: [EMF] Generate RAP instead of RCP [message #104121 is a reply to message #104112] Mon, 03 December 2007 22:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

I'll join you guys, I have superficial knowledge of both RAP and EMF :)

We have to cover all sides of the spectrum you know :)

Cheers,

~ Chris
Re: [EMF] Generate RAP instead of RCP [message #106658 is a reply to message #104112] Wed, 09 January 2008 17:35 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Did anything come out of this meeting of minds?

I have an existing AJAX application using Dojo, JSONRPC (from
oss.metaparadigm.com) and the Plexus lightweight container on the
Servlet end with the security component, request handling logic and JPOX
OR layer. Most of this was generated using the Dentaku project on
codehaus, now sadly inactive.

I'd really like to have a similar setup but with these generated
technologies: RAP or RCP front end, JSONRPC, Equinox, Jetty, Hibernate.
But am finsing it a little hard to get started. I have not found how
people are hooking the RAP front end into the servlet request handling,
any pointers?

Thx.

David




Ed Merks wrote:
> Jochen,
>
> This sounds like fun! We can take our complementary in-depth and
> superficial knowledge and combine it into a fully in-depth whole. If
> the result is that I have a setup I can use on my machine to play with
> this stuff that will be most excellent. We can talk about strategies
> for longer term support. Perhaps we need specialized RAP flavors for
> some of these GUI components (as we need for GWT)...
>
> I'm really looking forward to next week. See you there!
>
>
> Jochen Krause wrote:
>> Hi Ed,
>>
>> I would like to suggest to dedicate an hour (or more as needed) for
>> this next week. We could sit together before or after the Runtime
>> Summit and do an initial setup and some hacking. Just be aware that my
>> EMF knowledge is pretty superficial.
>>
>> Would that work for you?
>>
>> Jochen
>>
>>
>> Ed Merks wrote:
>>> Frank,
>>>
>>> I have quite a bit of time over Christmas to hack on anything I want
>>> because it's personal time. I'd be most interested in helping out
>>> with this. If I had a little help getting started on how to set
>>> things up on the RAP side of things (to test it out and understand
>>> where things are working poorly right now) I could likely make good
>>> progress on the EMF side of things. (I'm also interested in the GWT
>>> stuff that Tom Schindl is working on; he's going help get me started
>>> with a bit of spoon feeding as well.)
>>>
>>>
>>> Frank Appel wrote:
>>>> Hi,
>>>>
>>>> I did some first investigations on that topic and it seems that this
>>>> will take some more effort than I assumed. There are at least hacks
>>>> of org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and
>>>> org.eclipse.ui.ide necessary to have a chance to get things somewhat
>>>> working. I will not go into detail here since I'm still too far away
>>>> to draw any conclusions whether it will work or not at the end.
>>>> Unfortunately I don't have the time to dig deeper into this at the
>>>> moment, so results will take some time.
>>>>
>>>> Ciao
>>>> Frank
>>>>
>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>> news:fi9g3c$aib$1@build.eclipse.org...
>>>>
>>>>> Frank,
>>>>>
>>>>> I made a new entry in the eclipse wiki that describes how to
>>>>> generate the editor
>>>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>>>> I also uploaded a zip file to the wiki that contains the generated
>>>>> plugins.
>>>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>>>
>>>>> It would be really cool if you (or somebody else) could turn this
>>>>> plugins
>>>>> into RAP applications and document how this is done on that wiki page!
>>>>>
>>>>> To edit the wiki page you need a eclipse bugzilla account which can be
>>>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>>>
>>>>>
>>>>>> 1.) missing cell editors => RAP's property view is read-only.
>>>>>> Editing of model element attributes would not work
>>>>>>
>>>>> This limits the editor to a viewer but the RAP team will probably
>>>>> implement
>>>>> editing in the future?
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Reinhold
>>>>>
>>>>>
>>>>>> 2.) Workspace is shared between sessions => the same file could be
>>>>>> opened multiple times for editing - this could lead to a lot of
>>>>>> unfortunate consequences...
>>>>>>
>>>>>> But still you never know before you have tried. So feel free to
>>>>>> send me a simple sample editor and I will see what I can find out.
>>>>>>
>>>>>>
>>>>>> Ciao
>>>>>> Frank
>>>>>>
>>>>>>
>>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>>>>
>>>>>>> David,
>>>>>>>
>>>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP
>>>>>>> folks.
>>>>>>> They said that it should be no problem in principle. There might
>>>>>>> only be
>>>>>>> some detail issues with some not so common widgets. They couldn't
>>>>>>> give a more specific answer at that point because they were not that
>>>>>>> familar with EMF.
>>>>>>>
>>>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP
>>>>>>> application
>>>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>>>> so I added this post to their newsgroup.
>>>>>>>
>>>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>>>> could transfrom it into a RAP application and document how it is
>>>>>>> done?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Reinhold
>>>>>>>
>>>>>>>
>>>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>>>
>>>>>>>> David,
>>>>>>>>
>>>>>>>> I was told RAP folks, but have not confirmed myself, that a
>>>>>>>> generated EMF editor (they didn't specify RCP or otherwise)
>>>>>>>> generally works except for some issues with cell editors in the
>>>>>>>> properties view. Probably it's best just to try it and report
>>>>>>>> back the problems you find. Then we can think about how best to
>>>>>>>> help address those.
>>>>>>>>
>>>>>>>>
>>>>>>>> david wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Has anyone looked at generating a RAP based viewing application
>>>>>>>>> rather than a RCP based on from the ECore model? If not then
>>>>>>>>> can someone outline the parts of the code that would need to
>>>>>>>>> change to accommodate such a change?
>>>>>>>>>
>>>>>>>>> Thx.
>>>>>>>>>
>>>>>>>>> David
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
Re: [EMF] Generate RAP instead of RCP [message #106672 is a reply to message #106658] Wed, 09 January 2008 18:15 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

David,

I have https://bugs.eclipse.org/bugs/show_bug.cgi?id=213988 which
contains a RAPified version of the EMF UI support and a hand modified
(RAPified) Library RCP application. But then I became distracted and
haven't had time to look at it since.


david wrote:
> Did anything come out of this meeting of minds?
>
> I have an existing AJAX application using Dojo, JSONRPC (from
> oss.metaparadigm.com) and the Plexus lightweight container on the
> Servlet end with the security component, request handling logic and
> JPOX OR layer. Most of this was generated using the Dentaku project on
> codehaus, now sadly inactive.
>
> I'd really like to have a similar setup but with these generated
> technologies: RAP or RCP front end, JSONRPC, Equinox, Jetty,
> Hibernate. But am finsing it a little hard to get started. I have not
> found how people are hooking the RAP front end into the servlet
> request handling, any pointers?
>
> Thx.
>
> David
>
>
>
>
> Ed Merks wrote:
>> Jochen,
>>
>> This sounds like fun! We can take our complementary in-depth and
>> superficial knowledge and combine it into a fully in-depth whole. If
>> the result is that I have a setup I can use on my machine to play
>> with this stuff that will be most excellent. We can talk about
>> strategies for longer term support. Perhaps we need specialized RAP
>> flavors for some of these GUI components (as we need for GWT)...
>>
>> I'm really looking forward to next week. See you there!
>>
>>
>> Jochen Krause wrote:
>>> Hi Ed,
>>>
>>> I would like to suggest to dedicate an hour (or more as needed) for
>>> this next week. We could sit together before or after the Runtime
>>> Summit and do an initial setup and some hacking. Just be aware that
>>> my EMF knowledge is pretty superficial.
>>>
>>> Would that work for you?
>>>
>>> Jochen
>>>
>>>
>>> Ed Merks wrote:
>>>> Frank,
>>>>
>>>> I have quite a bit of time over Christmas to hack on anything I
>>>> want because it's personal time. I'd be most interested in helping
>>>> out with this. If I had a little help getting started on how to
>>>> set things up on the RAP side of things (to test it out and
>>>> understand where things are working poorly right now) I could
>>>> likely make good progress on the EMF side of things. (I'm also
>>>> interested in the GWT stuff that Tom Schindl is working on; he's
>>>> going help get me started with a bit of spoon feeding as well.)
>>>>
>>>>
>>>> Frank Appel wrote:
>>>>> Hi,
>>>>>
>>>>> I did some first investigations on that topic and it seems that
>>>>> this will take some more effort than I assumed. There are at least
>>>>> hacks of org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and
>>>>> org.eclipse.ui.ide necessary to have a chance to get things
>>>>> somewhat working. I will not go into detail here since I'm still
>>>>> too far away to draw any conclusions whether it will work or not
>>>>> at the end. Unfortunately I don't have the time to dig deeper into
>>>>> this at the moment, so results will take some time.
>>>>>
>>>>> Ciao
>>>>> Frank
>>>>>
>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>>> news:fi9g3c$aib$1@build.eclipse.org...
>>>>>
>>>>>> Frank,
>>>>>>
>>>>>> I made a new entry in the eclipse wiki that describes how to
>>>>>> generate the editor
>>>>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>>>>> I also uploaded a zip file to the wiki that contains the
>>>>>> generated plugins.
>>>>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>>>>
>>>>>> It would be really cool if you (or somebody else) could turn this
>>>>>> plugins
>>>>>> into RAP applications and document how this is done on that wiki
>>>>>> page!
>>>>>>
>>>>>> To edit the wiki page you need a eclipse bugzilla account which
>>>>>> can be
>>>>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>>>>
>>>>>>
>>>>>>> 1.) missing cell editors => RAP's property view is read-only.
>>>>>>> Editing of model element attributes would not work
>>>>>>>
>>>>>> This limits the editor to a viewer but the RAP team will probably
>>>>>> implement
>>>>>> editing in the future?
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Reinhold
>>>>>>
>>>>>>
>>>>>>> 2.) Workspace is shared between sessions => the same file could
>>>>>>> be opened multiple times for editing - this could lead to a lot
>>>>>>> of unfortunate consequences...
>>>>>>>
>>>>>>> But still you never know before you have tried. So feel free to
>>>>>>> send me a simple sample editor and I will see what I can find out.
>>>>>>>
>>>>>>>
>>>>>>> Ciao
>>>>>>> Frank
>>>>>>>
>>>>>>>
>>>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im
>>>>>>> Newsbeitrag news:fhvsun$6sm$1@build.eclipse.org...
>>>>>>>
>>>>>>>> David,
>>>>>>>>
>>>>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP
>>>>>>>> folks.
>>>>>>>> They said that it should be no problem in principle. There
>>>>>>>> might only be
>>>>>>>> some detail issues with some not so common widgets. They couldn't
>>>>>>>> give a more specific answer at that point because they were not
>>>>>>>> that
>>>>>>>> familar with EMF.
>>>>>>>>
>>>>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP
>>>>>>>> application
>>>>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>>>>> so I added this post to their newsgroup.
>>>>>>>>
>>>>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>>>>> could transfrom it into a RAP application and document how it
>>>>>>>> is done?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Reinhold
>>>>>>>>
>>>>>>>>
>>>>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>>>>
>>>>>>>>> David,
>>>>>>>>>
>>>>>>>>> I was told RAP folks, but have not confirmed myself, that a
>>>>>>>>> generated EMF editor (they didn't specify RCP or otherwise)
>>>>>>>>> generally works except for some issues with cell editors in
>>>>>>>>> the properties view. Probably it's best just to try it and
>>>>>>>>> report back the problems you find. Then we can think about
>>>>>>>>> how best to help address those.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> david wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Has anyone looked at generating a RAP based viewing
>>>>>>>>>> application rather than a RCP based on from the ECore model?
>>>>>>>>>> If not then can someone outline the parts of the code that
>>>>>>>>>> would need to change to accommodate such a change?
>>>>>>>>>>
>>>>>>>>>> Thx.
>>>>>>>>>>
>>>>>>>>>> David
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
Re: [EMF] Generate RAP instead of RCP [message #612464 is a reply to message #102371] Mon, 12 November 2007 12:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
David,

I was told RAP folks, but have not confirmed myself, that a generated
EMF editor (they didn't specify RCP or otherwise) generally works except
for some issues with cell editors in the properties view. Probably it's
best just to try it and report back the problems you find. Then we can
think about how best to help address those.


david wrote:
> Hi,
>
> Has anyone looked at generating a RAP based viewing application rather
> than a RCP based on from the ECore model? If not then can someone
> outline the parts of the code that would need to change to accommodate
> such a change?
>
> Thx.
>
> David
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [EMF] Generate RAP instead of RCP [message #612620 is a reply to message #102398] Wed, 21 November 2007 00:08 Go to previous message
Reinhold Bihler is currently offline Reinhold BihlerFriend
Messages: 64
Registered: July 2009
Member
David,

I also would like to know how a EMF.editor can be turned into a
RAP application. At Eclipse Summit Europe I talked with the RAP folks.
They said that it should be no problem in principle. There might only be
some detail issues with some not so common widgets. They couldn't
give a more specific answer at that point because they were not that
familar with EMF.

A tutorial or a how-to about turning a EMF.editor into a RAP application
would be cool. Maybe the RAP folks can give more specific info now
so I added this post to their newsgroup.

I could provide a EMF.editor sample plugin and maybe a RAP expert
could transfrom it into a RAP application and document how it is done?

Regards,

Reinhold


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fh9gfn$bg7$3@build.eclipse.org...
> David,
>
> I was told RAP folks, but have not confirmed myself, that a generated EMF
> editor (they didn't specify RCP or otherwise) generally works except for
> some issues with cell editors in the properties view. Probably it's best
> just to try it and report back the problems you find. Then we can think
> about how best to help address those.
>
>
> david wrote:
>> Hi,
>>
>> Has anyone looked at generating a RAP based viewing application rather
>> than a RCP based on from the ECore model? If not then can someone outline
>> the parts of the code that would need to change to accommodate such a
>> change?
>>
>> Thx.
>>
>> David
>>
Re: [EMF] Generate RAP instead of RCP [message #612634 is a reply to message #102398] Wed, 21 November 2007 15:34 Go to previous message
Ron Bermejo is currently offline Ron BermejoFriend
Messages: 30
Registered: July 2009
Member
Ed Merks wrote:

> David,

> I was told RAP folks, but have not confirmed myself, that a generated
> EMF editor (they didn't specify RCP or otherwise) generally works except
> for some issues with cell editors in the properties view. Probably it's
> best just to try it and report back the problems you find. Then we can
> think about how best to help address those.


> david wrote:
>> Hi,
>>
>> Has anyone looked at generating a RAP based viewing application rather
>> than a RCP based on from the ECore model? If not then can someone
>> outline the parts of the code that would need to change to accommodate
>> such a change?
>>
>> Thx.
>>
>> David
>>

Hi, guys!


I tried to generate a RAP application with the library model example.


The .model and .edit plugins were easy to integrate. I just added the ff
plugins to the target platform:

org.eclipse.emf.common
org.eclipse.emf.ecore
org.eclipse.emf.ecore.xmi
org.eclipse.emf.edit


Then generated it from the .genmodel as per normal.
(I suppose, at this point, some useful RAP+EMF applications can already be
built...)


Somewhat expectedly, the generated .editor was a bit more problematic.
For starters, it had dependencies on
org.eclipse.emf.edit.ui
org.eclipse.emf.common.ui

both of which had 'Require-Bundle' on org.eclipse.ui.* plugins. I
temporarily changed their manifest.mfs to use org.eclipse.rap.ui.*
instead. I guess in the future we can either separate the emf.ui plugins,
or use Import-Package instead of Require-Bundle. (Though I'm not sure of
the effects of these).


Afterwards, there were still some compile problems, mostly due to
widgets/classes not being available in RAP. For example, FileDialog is not
available. Not such a big problem, though, I commented those out for now.

Next I had to change the RCP Application class from IApplication to
IEntryPoint which is the equivalent in RAP, and added the entrypoint
extension to plugin.xml.

At this point I was able to run the app and see it on my browser (great!).
It looks similar to a generated RCP application. However, when I opened an
editor there were some runtime errors.

java.lang.NoSuchFieldError: DELETE
at
org.eclipse.emf.edit.ui.action.EditingDomainActionBarContrib utor.init
(EditingDomainActionBarContributor.java:150)

ActionFactory.DELETE wasn't found in the RAP classes. Fine. I removed the
EditorActionBarContributor temporarily. The next one was:

java.lang.NoClassDefFoundError: org/eclipse/swt/events/MouseListener
at
org.examples.library.presentation.LibraryEditor.createPages( LibraryEditor.java:891)

This was due to the ViewerPane class from emf.ui. I also removed it
temporarily and finally I was able to see the (familiar) tree view editor
in my browser!

And, as Ed mentioned, I also had some problems with the properties view.
No properties appeared whenever I select an object in the editor. I'm not
sure if this is the same, though, since Ed mentioned cell editors. I
wasn't able to perform much editing too (because I removed the
ActionBarContributor), but it should be easy to add in the future.

That's about it... Anybody else have other (hopefully more successful)
experiences? :-)

Ron
Re: [EMF] Generate RAP instead of RCP [message #612656 is a reply to message #103345] Fri, 23 November 2007 15:10 Go to previous message
Frank Appel is currently offline Frank AppelFriend
Messages: 46
Registered: July 2009
Member
Hi,

I've been working with EMF quite a while and it would be very interesting to
see how much is missing to get a sample editor working. From my point of
view I see at least two problems:

1.) missing cell editors => RAP's property view is read-only. Editing of
model element attributes would not work
2.) Workspace is shared between sessions => the same file could be opened
multiple times for editing - this could lead to a lot of unfortunate
consequences...

But still you never know before you have tried. So feel free to send me a
simple sample editor and I will see what I can find out.


Ciao
Frank


"Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
news:fhvsun$6sm$1@build.eclipse.org...
> David,
>
> I also would like to know how a EMF.editor can be turned into a
> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
> They said that it should be no problem in principle. There might only be
> some detail issues with some not so common widgets. They couldn't
> give a more specific answer at that point because they were not that
> familar with EMF.
>
> A tutorial or a how-to about turning a EMF.editor into a RAP application
> would be cool. Maybe the RAP folks can give more specific info now
> so I added this post to their newsgroup.
>
> I could provide a EMF.editor sample plugin and maybe a RAP expert
> could transfrom it into a RAP application and document how it is done?
>
> Regards,
>
> Reinhold
>
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fh9gfn$bg7$3@build.eclipse.org...
>> David,
>>
>> I was told RAP folks, but have not confirmed myself, that a generated EMF
>> editor (they didn't specify RCP or otherwise) generally works except for
>> some issues with cell editors in the properties view. Probably it's best
>> just to try it and report back the problems you find. Then we can think
>> about how best to help address those.
>>
>>
>> david wrote:
>>> Hi,
>>>
>>> Has anyone looked at generating a RAP based viewing application rather
>>> than a RCP based on from the ECore model? If not then can someone
>>> outline the parts of the code that would need to change to accommodate
>>> such a change?
>>>
>>> Thx.
>>>
>>> David
>>>
>
>
Re: [EMF] Generate RAP instead of RCP [message #612657 is a reply to message #103634] Sat, 24 November 2007 15:30 Go to previous message
Reinhold Bihler is currently offline Reinhold BihlerFriend
Messages: 64
Registered: July 2009
Member
Frank,

I made a new entry in the eclipse wiki that describes how to generate the
editor
and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
I also uploaded a zip file to the wiki that contains the generated plugins.
http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip

It would be really cool if you (or somebody else) could turn this plugins
into RAP applications and document how this is done on that wiki page!

To edit the wiki page you need a eclipse bugzilla account which can be
registered here: https://bugs.eclipse.org/bugs/createaccount.cgi

> 1.) missing cell editors => RAP's property view is read-only. Editing of
> model element attributes would not work

This limits the editor to a viewer but the RAP team will probably implement
editing in the future?

Best Regards,

Reinhold

> 2.) Workspace is shared between sessions => the same file could be opened
> multiple times for editing - this could lead to a lot of unfortunate
> consequences...
>
> But still you never know before you have tried. So feel free to send me a
> simple sample editor and I will see what I can find out.
>
>
> Ciao
> Frank
>
>
> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
> news:fhvsun$6sm$1@build.eclipse.org...
>> David,
>>
>> I also would like to know how a EMF.editor can be turned into a
>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>> They said that it should be no problem in principle. There might only be
>> some detail issues with some not so common widgets. They couldn't
>> give a more specific answer at that point because they were not that
>> familar with EMF.
>>
>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>> would be cool. Maybe the RAP folks can give more specific info now
>> so I added this post to their newsgroup.
>>
>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>> could transfrom it into a RAP application and document how it is done?
>>
>> Regards,
>>
>> Reinhold
>>
>>
>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>> news:fh9gfn$bg7$3@build.eclipse.org...
>>> David,
>>>
>>> I was told RAP folks, but have not confirmed myself, that a generated
>>> EMF editor (they didn't specify RCP or otherwise) generally works except
>>> for some issues with cell editors in the properties view. Probably it's
>>> best just to try it and report back the problems you find. Then we can
>>> think about how best to help address those.
>>>
>>>
>>> david wrote:
>>>> Hi,
>>>>
>>>> Has anyone looked at generating a RAP based viewing application rather
>>>> than a RCP based on from the ECore model? If not then can someone
>>>> outline the parts of the code that would need to change to accommodate
>>>> such a change?
>>>>
>>>> Thx.
>>>>
>>>> David
>>>>
>>
>>
>
>
Re: [EMF] Generate RAP instead of RCP [message #612715 is a reply to message #103648] Mon, 03 December 2007 14:11 Go to previous message
Frank Appel is currently offline Frank AppelFriend
Messages: 46
Registered: July 2009
Member
Hi,

I did some first investigations on that topic and it seems that this will
take some more effort than I assumed. There are at least hacks of
org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
necessary to have a chance to get things somewhat working. I will not go
into detail here since I'm still too far away to draw any conclusions
whether it will work or not at the end. Unfortunately I don't have the time
to dig deeper into this at the moment, so results will take some time.

Ciao
Frank

"Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
news:fi9g3c$aib$1@build.eclipse.org...
> Frank,
>
> I made a new entry in the eclipse wiki that describes how to generate the
> editor
> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
> I also uploaded a zip file to the wiki that contains the generated
> plugins.
> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>
> It would be really cool if you (or somebody else) could turn this plugins
> into RAP applications and document how this is done on that wiki page!
>
> To edit the wiki page you need a eclipse bugzilla account which can be
> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>
>> 1.) missing cell editors => RAP's property view is read-only. Editing of
>> model element attributes would not work
>
> This limits the editor to a viewer but the RAP team will probably
> implement
> editing in the future?
>
> Best Regards,
>
> Reinhold
>
>> 2.) Workspace is shared between sessions => the same file could be opened
>> multiple times for editing - this could lead to a lot of unfortunate
>> consequences...
>>
>> But still you never know before you have tried. So feel free to send me a
>> simple sample editor and I will see what I can find out.
>>
>>
>> Ciao
>> Frank
>>
>>
>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>> news:fhvsun$6sm$1@build.eclipse.org...
>>> David,
>>>
>>> I also would like to know how a EMF.editor can be turned into a
>>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>>> They said that it should be no problem in principle. There might only be
>>> some detail issues with some not so common widgets. They couldn't
>>> give a more specific answer at that point because they were not that
>>> familar with EMF.
>>>
>>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>>> would be cool. Maybe the RAP folks can give more specific info now
>>> so I added this post to their newsgroup.
>>>
>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>> could transfrom it into a RAP application and document how it is done?
>>>
>>> Regards,
>>>
>>> Reinhold
>>>
>>>
>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>> David,
>>>>
>>>> I was told RAP folks, but have not confirmed myself, that a generated
>>>> EMF editor (they didn't specify RCP or otherwise) generally works
>>>> except for some issues with cell editors in the properties view.
>>>> Probably it's best just to try it and report back the problems you
>>>> find. Then we can think about how best to help address those.
>>>>
>>>>
>>>> david wrote:
>>>>> Hi,
>>>>>
>>>>> Has anyone looked at generating a RAP based viewing application rather
>>>>> than a RCP based on from the ECore model? If not then can someone
>>>>> outline the parts of the code that would need to change to accommodate
>>>>> such a change?
>>>>>
>>>>> Thx.
>>>>>
>>>>> David
>>>>>
>>>
>>>
>>
>>
>
>
Re: [EMF] Generate RAP instead of RCP [message #612717 is a reply to message #104078] Mon, 03 December 2007 15:56 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080909060103020903060906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Frank,

I have quite a bit of time over Christmas to hack on anything I want
because it's personal time. I'd be most interested in helping out with
this. If I had a little help getting started on how to set things up on
the RAP side of things (to test it out and understand where things are
working poorly right now) I could likely make good progress on the EMF
side of things. (I'm also interested in the GWT stuff that Tom Schindl
is working on; he's going help get me started with a bit of spoon
feeding as well.)


Frank Appel wrote:
> Hi,
>
> I did some first investigations on that topic and it seems that this will
> take some more effort than I assumed. There are at least hacks of
> org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
> necessary to have a chance to get things somewhat working. I will not go
> into detail here since I'm still too far away to draw any conclusions
> whether it will work or not at the end. Unfortunately I don't have the time
> to dig deeper into this at the moment, so results will take some time.
>
> Ciao
> Frank
>
> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
> news:fi9g3c$aib$1@build.eclipse.org...
>
>> Frank,
>>
>> I made a new entry in the eclipse wiki that describes how to generate the
>> editor
>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>> I also uploaded a zip file to the wiki that contains the generated
>> plugins.
>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>
>> It would be really cool if you (or somebody else) could turn this plugins
>> into RAP applications and document how this is done on that wiki page!
>>
>> To edit the wiki page you need a eclipse bugzilla account which can be
>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>
>>
>>> 1.) missing cell editors => RAP's property view is read-only. Editing of
>>> model element attributes would not work
>>>
>> This limits the editor to a viewer but the RAP team will probably
>> implement
>> editing in the future?
>>
>> Best Regards,
>>
>> Reinhold
>>
>>
>>> 2.) Workspace is shared between sessions => the same file could be opened
>>> multiple times for editing - this could lead to a lot of unfortunate
>>> consequences...
>>>
>>> But still you never know before you have tried. So feel free to send me a
>>> simple sample editor and I will see what I can find out.
>>>
>>>
>>> Ciao
>>> Frank
>>>
>>>
>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>
>>>> David,
>>>>
>>>> I also would like to know how a EMF.editor can be turned into a
>>>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>>>> They said that it should be no problem in principle. There might only be
>>>> some detail issues with some not so common widgets. They couldn't
>>>> give a more specific answer at that point because they were not that
>>>> familar with EMF.
>>>>
>>>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>> so I added this post to their newsgroup.
>>>>
>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>> could transfrom it into a RAP application and document how it is done?
>>>>
>>>> Regards,
>>>>
>>>> Reinhold
>>>>
>>>>
>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>
>>>>> David,
>>>>>
>>>>> I was told RAP folks, but have not confirmed myself, that a generated
>>>>> EMF editor (they didn't specify RCP or otherwise) generally works
>>>>> except for some issues with cell editors in the properties view.
>>>>> Probably it's best just to try it and report back the problems you
>>>>> find. Then we can think about how best to help address those.
>>>>>
>>>>>
>>>>> david wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Has anyone looked at generating a RAP based viewing application rather
>>>>>> than a RCP based on from the ECore model? If not then can someone
>>>>>> outline the parts of the code that would need to change to accommodate
>>>>>> such a change?
>>>>>>
>>>>>> Thx.
>>>>>>
>>>>>> David
>>>>>>
>>>>>>
>>>>
>>>
>>
>
>
>


--------------080909060103020903060906
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frank,<br>
<br>
I have quite a bit of time over Christmas to hack on anything I want
because it's personal time.&nbsp; I'd be most interested in helping out with
this.&nbsp; If I had a little help getting started on how to set things up
on the RAP side of things (to test it out and understand where things
are working poorly right now) I could likely make good progress on the
EMF side of things.&nbsp; (I'm also interested in the GWT stuff that Tom
Schindl is working on; he's going help get me started with a bit of
spoon feeding as well.)<br>
<br>
<br>
Frank Appel wrote:
<blockquote cite="mid:fj12qa$3tg$1@build.eclipse.org" type="cite">
<pre wrap="">Hi,

I did some first investigations on that topic and it seems that this will
take some more effort than I assumed. There are at least hacks of
org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
necessary to have a chance to get things somewhat working. I will not go
into detail here since I'm still too far away to draw any conclusions
whether it will work or not at the end. Unfortunately I don't have the time
to dig deeper into this at the moment, so results will take some time.

Ciao
Frank

"Reinhold Bihler" <a class="moz-txt-link-rfc2396E" href="mailto:reinhold.bihler@gmx.de">&lt;reinhold.bihler@gmx.de&gt;</a> schrieb im Newsbeitrag
<a class="moz-txt-link-freetext" href="news:fi9g3c$aib$1@build.eclipse.org">news:fi9g3c$aib$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Frank,

I made a new entry in the eclipse wiki that describes how to generate the
editor
and how to use it. See <a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/EMF_Editor_goes_RAP">http://wiki.eclipse.org/EMF_Editor_goes_RAP</a>
I also uploaded a zip file to the wiki that contains the generated
plugins.
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip">http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip</a>

It would be really cool if you (or somebody else) could turn this plugins
into RAP applications and document how this is done on that wiki page!

To edit the wiki page you need a eclipse bugzilla account which can be
registered here: <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/createaccount.cgi">https://bugs.eclipse.org/bugs/createaccount.cgi</a>

</pre>
<blockquote type="cite">
<pre wrap="">1.) missing cell editors =&gt; RAP's property view is read-only. Editing of
model element attributes would not work
</pre>
</blockquote>
<pre wrap="">This limits the editor to a viewer but the RAP team will probably
implement
editing in the future?

Best Regards,

Reinhold

</pre>
<blockquote type="cite">
<pre wrap="">2.) Workspace is shared between sessions =&gt; the same file could be opened
multiple times for editing - this could lead to a lot of unfortunate
consequences...

But still you never know before you have tried. So feel free to send me a
simple sample editor and I will see what I can find out.


Ciao
Frank


"Reinhold Bihler" <a class="moz-txt-link-rfc2396E" href="mailto:reinhold.bihler@gmx.de">&lt;reinhold.bihler@gmx.de&gt;</a> schrieb im Newsbeitrag
<a class="moz-txt-link-freetext" href="news:fhvsun$6sm$1@build.eclipse.org">news:fhvsun$6sm$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">David,

I also would like to know how a EMF.editor can be turned into a
RAP application. At Eclipse Summit Europe I talked with the RAP folks.
They said that it should be no problem in principle. There might only be
some detail issues with some not so common widgets. They couldn't
give a more specific answer at that point because they were not that
familar with EMF.

A tutorial or a how-to about turning a EMF.editor into a RAP application
would be cool. Maybe the RAP folks can give more specific info now
so I added this post to their newsgroup.

I could provide a EMF.editor sample plugin and maybe a RAP expert
could transfrom it into a RAP application and document how it is done?

Regards,

Reinhold


"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fh9gfn$bg7$3@build.eclipse.org">news:fh9gfn$bg7$3@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">David,

I was told RAP folks, but have not confirmed myself, that a generated
EMF editor (they didn't specify RCP or otherwise) generally works
except for some issues with cell editors in the properties view.
Probably it's best just to try it and report back the problems you
find. Then we can think about how best to help address those.


david wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

Has anyone looked at generating a RAP based viewing application rather
than a RCP based on from the ECore model? If not then can someone
outline the parts of the code that would need to change to accommodate
such a change?

Thx.

David

</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------080909060103020903060906--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [EMF] Generate RAP instead of RCP [message #612719 is a reply to message #104092] Mon, 03 December 2007 22:09 Go to previous message
Jochen Krause is currently offline Jochen KrauseFriend
Messages: 72
Registered: July 2009
Member
Hi Ed,

I would like to suggest to dedicate an hour (or more as needed) for this
next week. We could sit together before or after the Runtime Summit and
do an initial setup and some hacking. Just be aware that my EMF
knowledge is pretty superficial.

Would that work for you?

Jochen


Ed Merks wrote:
> Frank,
>
> I have quite a bit of time over Christmas to hack on anything I want
> because it's personal time. I'd be most interested in helping out with
> this. If I had a little help getting started on how to set things up on
> the RAP side of things (to test it out and understand where things are
> working poorly right now) I could likely make good progress on the EMF
> side of things. (I'm also interested in the GWT stuff that Tom Schindl
> is working on; he's going help get me started with a bit of spoon
> feeding as well.)
>
>
> Frank Appel wrote:
>> Hi,
>>
>> I did some first investigations on that topic and it seems that this will
>> take some more effort than I assumed. There are at least hacks of
>> org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and org.eclipse.ui.ide
>> necessary to have a chance to get things somewhat working. I will not go
>> into detail here since I'm still too far away to draw any conclusions
>> whether it will work or not at the end. Unfortunately I don't have the time
>> to dig deeper into this at the moment, so results will take some time.
>>
>> Ciao
>> Frank
>>
>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>> news:fi9g3c$aib$1@build.eclipse.org...
>>
>>> Frank,
>>>
>>> I made a new entry in the eclipse wiki that describes how to generate the
>>> editor
>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>> I also uploaded a zip file to the wiki that contains the generated
>>> plugins.
>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>
>>> It would be really cool if you (or somebody else) could turn this plugins
>>> into RAP applications and document how this is done on that wiki page!
>>>
>>> To edit the wiki page you need a eclipse bugzilla account which can be
>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>
>>>
>>>> 1.) missing cell editors => RAP's property view is read-only. Editing of
>>>> model element attributes would not work
>>>>
>>> This limits the editor to a viewer but the RAP team will probably
>>> implement
>>> editing in the future?
>>>
>>> Best Regards,
>>>
>>> Reinhold
>>>
>>>
>>>> 2.) Workspace is shared between sessions => the same file could be opened
>>>> multiple times for editing - this could lead to a lot of unfortunate
>>>> consequences...
>>>>
>>>> But still you never know before you have tried. So feel free to send me a
>>>> simple sample editor and I will see what I can find out.
>>>>
>>>>
>>>> Ciao
>>>> Frank
>>>>
>>>>
>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>>
>>>>> David,
>>>>>
>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP folks.
>>>>> They said that it should be no problem in principle. There might only be
>>>>> some detail issues with some not so common widgets. They couldn't
>>>>> give a more specific answer at that point because they were not that
>>>>> familar with EMF.
>>>>>
>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP application
>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>> so I added this post to their newsgroup.
>>>>>
>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>> could transfrom it into a RAP application and document how it is done?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Reinhold
>>>>>
>>>>>
>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>
>>>>>> David,
>>>>>>
>>>>>> I was told RAP folks, but have not confirmed myself, that a generated
>>>>>> EMF editor (they didn't specify RCP or otherwise) generally works
>>>>>> except for some issues with cell editors in the properties view.
>>>>>> Probably it's best just to try it and report back the problems you
>>>>>> find. Then we can think about how best to help address those.
>>>>>>
>>>>>>
>>>>>> david wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Has anyone looked at generating a RAP based viewing application rather
>>>>>>> than a RCP based on from the ECore model? If not then can someone
>>>>>>> outline the parts of the code that would need to change to accommodate
>>>>>>> such a change?
>>>>>>>
>>>>>>> Thx.
>>>>>>>
>>>>>>> David
>>>>>>>
>>>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>
Re: [EMF] Generate RAP instead of RCP [message #612721 is a reply to message #104102] Mon, 03 December 2007 22:28 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Jochen,

This sounds like fun! We can take our complementary in-depth and
superficial knowledge and combine it into a fully in-depth whole. If
the result is that I have a setup I can use on my machine to play with
this stuff that will be most excellent. We can talk about strategies
for longer term support. Perhaps we need specialized RAP flavors for
some of these GUI components (as we need for GWT)...

I'm really looking forward to next week. See you there!


Jochen Krause wrote:
> Hi Ed,
>
> I would like to suggest to dedicate an hour (or more as needed) for
> this next week. We could sit together before or after the Runtime
> Summit and do an initial setup and some hacking. Just be aware that my
> EMF knowledge is pretty superficial.
>
> Would that work for you?
>
> Jochen
>
>
> Ed Merks wrote:
>> Frank,
>>
>> I have quite a bit of time over Christmas to hack on anything I want
>> because it's personal time. I'd be most interested in helping out
>> with this. If I had a little help getting started on how to set
>> things up on the RAP side of things (to test it out and understand
>> where things are working poorly right now) I could likely make good
>> progress on the EMF side of things. (I'm also interested in the GWT
>> stuff that Tom Schindl is working on; he's going help get me started
>> with a bit of spoon feeding as well.)
>>
>>
>> Frank Appel wrote:
>>> Hi,
>>>
>>> I did some first investigations on that topic and it seems that this
>>> will take some more effort than I assumed. There are at least hacks
>>> of org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and
>>> org.eclipse.ui.ide necessary to have a chance to get things somewhat
>>> working. I will not go into detail here since I'm still too far away
>>> to draw any conclusions whether it will work or not at the end.
>>> Unfortunately I don't have the time to dig deeper into this at the
>>> moment, so results will take some time.
>>>
>>> Ciao
>>> Frank
>>>
>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>> news:fi9g3c$aib$1@build.eclipse.org...
>>>
>>>> Frank,
>>>>
>>>> I made a new entry in the eclipse wiki that describes how to
>>>> generate the editor
>>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>>> I also uploaded a zip file to the wiki that contains the generated
>>>> plugins.
>>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>>
>>>> It would be really cool if you (or somebody else) could turn this
>>>> plugins
>>>> into RAP applications and document how this is done on that wiki page!
>>>>
>>>> To edit the wiki page you need a eclipse bugzilla account which can be
>>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>>
>>>>
>>>>> 1.) missing cell editors => RAP's property view is read-only.
>>>>> Editing of model element attributes would not work
>>>>>
>>>> This limits the editor to a viewer but the RAP team will probably
>>>> implement
>>>> editing in the future?
>>>>
>>>> Best Regards,
>>>>
>>>> Reinhold
>>>>
>>>>
>>>>> 2.) Workspace is shared between sessions => the same file could be
>>>>> opened multiple times for editing - this could lead to a lot of
>>>>> unfortunate consequences...
>>>>>
>>>>> But still you never know before you have tried. So feel free to
>>>>> send me a simple sample editor and I will see what I can find out.
>>>>>
>>>>>
>>>>> Ciao
>>>>> Frank
>>>>>
>>>>>
>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>>>
>>>>>> David,
>>>>>>
>>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP
>>>>>> folks.
>>>>>> They said that it should be no problem in principle. There might
>>>>>> only be
>>>>>> some detail issues with some not so common widgets. They couldn't
>>>>>> give a more specific answer at that point because they were not that
>>>>>> familar with EMF.
>>>>>>
>>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP
>>>>>> application
>>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>>> so I added this post to their newsgroup.
>>>>>>
>>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>>> could transfrom it into a RAP application and document how it is
>>>>>> done?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Reinhold
>>>>>>
>>>>>>
>>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>>
>>>>>>> David,
>>>>>>>
>>>>>>> I was told RAP folks, but have not confirmed myself, that a
>>>>>>> generated EMF editor (they didn't specify RCP or otherwise)
>>>>>>> generally works except for some issues with cell editors in the
>>>>>>> properties view. Probably it's best just to try it and report
>>>>>>> back the problems you find. Then we can think about how best to
>>>>>>> help address those.
>>>>>>>
>>>>>>>
>>>>>>> david wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Has anyone looked at generating a RAP based viewing application
>>>>>>>> rather than a RCP based on from the ECore model? If not then
>>>>>>>> can someone outline the parts of the code that would need to
>>>>>>>> change to accommodate such a change?
>>>>>>>>
>>>>>>>> Thx.
>>>>>>>>
>>>>>>>> David
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [EMF] Generate RAP instead of RCP [message #612723 is a reply to message #104112] Mon, 03 December 2007 22:53 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
I'll join you guys, I have superficial knowledge of both RAP and EMF :)

We have to cover all sides of the spectrum you know :)

Cheers,

~ Chris
Re: [EMF] Generate RAP instead of RCP [message #613973 is a reply to message #104112] Wed, 09 January 2008 17:35 Go to previous message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Did anything come out of this meeting of minds?

I have an existing AJAX application using Dojo, JSONRPC (from
oss.metaparadigm.com) and the Plexus lightweight container on the
Servlet end with the security component, request handling logic and JPOX
OR layer. Most of this was generated using the Dentaku project on
codehaus, now sadly inactive.

I'd really like to have a similar setup but with these generated
technologies: RAP or RCP front end, JSONRPC, Equinox, Jetty, Hibernate.
But am finsing it a little hard to get started. I have not found how
people are hooking the RAP front end into the servlet request handling,
any pointers?

Thx.

David




Ed Merks wrote:
> Jochen,
>
> This sounds like fun! We can take our complementary in-depth and
> superficial knowledge and combine it into a fully in-depth whole. If
> the result is that I have a setup I can use on my machine to play with
> this stuff that will be most excellent. We can talk about strategies
> for longer term support. Perhaps we need specialized RAP flavors for
> some of these GUI components (as we need for GWT)...
>
> I'm really looking forward to next week. See you there!
>
>
> Jochen Krause wrote:
>> Hi Ed,
>>
>> I would like to suggest to dedicate an hour (or more as needed) for
>> this next week. We could sit together before or after the Runtime
>> Summit and do an initial setup and some hacking. Just be aware that my
>> EMF knowledge is pretty superficial.
>>
>> Would that work for you?
>>
>> Jochen
>>
>>
>> Ed Merks wrote:
>>> Frank,
>>>
>>> I have quite a bit of time over Christmas to hack on anything I want
>>> because it's personal time. I'd be most interested in helping out
>>> with this. If I had a little help getting started on how to set
>>> things up on the RAP side of things (to test it out and understand
>>> where things are working poorly right now) I could likely make good
>>> progress on the EMF side of things. (I'm also interested in the GWT
>>> stuff that Tom Schindl is working on; he's going help get me started
>>> with a bit of spoon feeding as well.)
>>>
>>>
>>> Frank Appel wrote:
>>>> Hi,
>>>>
>>>> I did some first investigations on that topic and it seems that this
>>>> will take some more effort than I assumed. There are at least hacks
>>>> of org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and
>>>> org.eclipse.ui.ide necessary to have a chance to get things somewhat
>>>> working. I will not go into detail here since I'm still too far away
>>>> to draw any conclusions whether it will work or not at the end.
>>>> Unfortunately I don't have the time to dig deeper into this at the
>>>> moment, so results will take some time.
>>>>
>>>> Ciao
>>>> Frank
>>>>
>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>> news:fi9g3c$aib$1@build.eclipse.org...
>>>>
>>>>> Frank,
>>>>>
>>>>> I made a new entry in the eclipse wiki that describes how to
>>>>> generate the editor
>>>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>>>> I also uploaded a zip file to the wiki that contains the generated
>>>>> plugins.
>>>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>>>
>>>>> It would be really cool if you (or somebody else) could turn this
>>>>> plugins
>>>>> into RAP applications and document how this is done on that wiki page!
>>>>>
>>>>> To edit the wiki page you need a eclipse bugzilla account which can be
>>>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>>>
>>>>>
>>>>>> 1.) missing cell editors => RAP's property view is read-only.
>>>>>> Editing of model element attributes would not work
>>>>>>
>>>>> This limits the editor to a viewer but the RAP team will probably
>>>>> implement
>>>>> editing in the future?
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Reinhold
>>>>>
>>>>>
>>>>>> 2.) Workspace is shared between sessions => the same file could be
>>>>>> opened multiple times for editing - this could lead to a lot of
>>>>>> unfortunate consequences...
>>>>>>
>>>>>> But still you never know before you have tried. So feel free to
>>>>>> send me a simple sample editor and I will see what I can find out.
>>>>>>
>>>>>>
>>>>>> Ciao
>>>>>> Frank
>>>>>>
>>>>>>
>>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>>>> news:fhvsun$6sm$1@build.eclipse.org...
>>>>>>
>>>>>>> David,
>>>>>>>
>>>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP
>>>>>>> folks.
>>>>>>> They said that it should be no problem in principle. There might
>>>>>>> only be
>>>>>>> some detail issues with some not so common widgets. They couldn't
>>>>>>> give a more specific answer at that point because they were not that
>>>>>>> familar with EMF.
>>>>>>>
>>>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP
>>>>>>> application
>>>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>>>> so I added this post to their newsgroup.
>>>>>>>
>>>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>>>> could transfrom it into a RAP application and document how it is
>>>>>>> done?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Reinhold
>>>>>>>
>>>>>>>
>>>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>>>
>>>>>>>> David,
>>>>>>>>
>>>>>>>> I was told RAP folks, but have not confirmed myself, that a
>>>>>>>> generated EMF editor (they didn't specify RCP or otherwise)
>>>>>>>> generally works except for some issues with cell editors in the
>>>>>>>> properties view. Probably it's best just to try it and report
>>>>>>>> back the problems you find. Then we can think about how best to
>>>>>>>> help address those.
>>>>>>>>
>>>>>>>>
>>>>>>>> david wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Has anyone looked at generating a RAP based viewing application
>>>>>>>>> rather than a RCP based on from the ECore model? If not then
>>>>>>>>> can someone outline the parts of the code that would need to
>>>>>>>>> change to accommodate such a change?
>>>>>>>>>
>>>>>>>>> Thx.
>>>>>>>>>
>>>>>>>>> David
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
Re: [EMF] Generate RAP instead of RCP [message #613974 is a reply to message #106658] Wed, 09 January 2008 18:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
David,

I have https://bugs.eclipse.org/bugs/show_bug.cgi?id=213988 which
contains a RAPified version of the EMF UI support and a hand modified
(RAPified) Library RCP application. But then I became distracted and
haven't had time to look at it since.


david wrote:
> Did anything come out of this meeting of minds?
>
> I have an existing AJAX application using Dojo, JSONRPC (from
> oss.metaparadigm.com) and the Plexus lightweight container on the
> Servlet end with the security component, request handling logic and
> JPOX OR layer. Most of this was generated using the Dentaku project on
> codehaus, now sadly inactive.
>
> I'd really like to have a similar setup but with these generated
> technologies: RAP or RCP front end, JSONRPC, Equinox, Jetty,
> Hibernate. But am finsing it a little hard to get started. I have not
> found how people are hooking the RAP front end into the servlet
> request handling, any pointers?
>
> Thx.
>
> David
>
>
>
>
> Ed Merks wrote:
>> Jochen,
>>
>> This sounds like fun! We can take our complementary in-depth and
>> superficial knowledge and combine it into a fully in-depth whole. If
>> the result is that I have a setup I can use on my machine to play
>> with this stuff that will be most excellent. We can talk about
>> strategies for longer term support. Perhaps we need specialized RAP
>> flavors for some of these GUI components (as we need for GWT)...
>>
>> I'm really looking forward to next week. See you there!
>>
>>
>> Jochen Krause wrote:
>>> Hi Ed,
>>>
>>> I would like to suggest to dedicate an hour (or more as needed) for
>>> this next week. We could sit together before or after the Runtime
>>> Summit and do an initial setup and some hacking. Just be aware that
>>> my EMF knowledge is pretty superficial.
>>>
>>> Would that work for you?
>>>
>>> Jochen
>>>
>>>
>>> Ed Merks wrote:
>>>> Frank,
>>>>
>>>> I have quite a bit of time over Christmas to hack on anything I
>>>> want because it's personal time. I'd be most interested in helping
>>>> out with this. If I had a little help getting started on how to
>>>> set things up on the RAP side of things (to test it out and
>>>> understand where things are working poorly right now) I could
>>>> likely make good progress on the EMF side of things. (I'm also
>>>> interested in the GWT stuff that Tom Schindl is working on; he's
>>>> going help get me started with a bit of spoon feeding as well.)
>>>>
>>>>
>>>> Frank Appel wrote:
>>>>> Hi,
>>>>>
>>>>> I did some first investigations on that topic and it seems that
>>>>> this will take some more effort than I assumed. There are at least
>>>>> hacks of org.eclipse.emf.edit.ui, org.eclipse.emf.common.ui ui and
>>>>> org.eclipse.ui.ide necessary to have a chance to get things
>>>>> somewhat working. I will not go into detail here since I'm still
>>>>> too far away to draw any conclusions whether it will work or not
>>>>> at the end. Unfortunately I don't have the time to dig deeper into
>>>>> this at the moment, so results will take some time.
>>>>>
>>>>> Ciao
>>>>> Frank
>>>>>
>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im Newsbeitrag
>>>>> news:fi9g3c$aib$1@build.eclipse.org...
>>>>>
>>>>>> Frank,
>>>>>>
>>>>>> I made a new entry in the eclipse wiki that describes how to
>>>>>> generate the editor
>>>>>> and how to use it. See http://wiki.eclipse.org/EMF_Editor_goes_RAP
>>>>>> I also uploaded a zip file to the wiki that contains the
>>>>>> generated plugins.
>>>>>> http://wiki.eclipse.org/images/b/b7/SimplePOPlugins.zip
>>>>>>
>>>>>> It would be really cool if you (or somebody else) could turn this
>>>>>> plugins
>>>>>> into RAP applications and document how this is done on that wiki
>>>>>> page!
>>>>>>
>>>>>> To edit the wiki page you need a eclipse bugzilla account which
>>>>>> can be
>>>>>> registered here: https://bugs.eclipse.org/bugs/createaccount.cgi
>>>>>>
>>>>>>
>>>>>>> 1.) missing cell editors => RAP's property view is read-only.
>>>>>>> Editing of model element attributes would not work
>>>>>>>
>>>>>> This limits the editor to a viewer but the RAP team will probably
>>>>>> implement
>>>>>> editing in the future?
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Reinhold
>>>>>>
>>>>>>
>>>>>>> 2.) Workspace is shared between sessions => the same file could
>>>>>>> be opened multiple times for editing - this could lead to a lot
>>>>>>> of unfortunate consequences...
>>>>>>>
>>>>>>> But still you never know before you have tried. So feel free to
>>>>>>> send me a simple sample editor and I will see what I can find out.
>>>>>>>
>>>>>>>
>>>>>>> Ciao
>>>>>>> Frank
>>>>>>>
>>>>>>>
>>>>>>> "Reinhold Bihler" <reinhold.bihler@gmx.de> schrieb im
>>>>>>> Newsbeitrag news:fhvsun$6sm$1@build.eclipse.org...
>>>>>>>
>>>>>>>> David,
>>>>>>>>
>>>>>>>> I also would like to know how a EMF.editor can be turned into a
>>>>>>>> RAP application. At Eclipse Summit Europe I talked with the RAP
>>>>>>>> folks.
>>>>>>>> They said that it should be no problem in principle. There
>>>>>>>> might only be
>>>>>>>> some detail issues with some not so common widgets. They couldn't
>>>>>>>> give a more specific answer at that point because they were not
>>>>>>>> that
>>>>>>>> familar with EMF.
>>>>>>>>
>>>>>>>> A tutorial or a how-to about turning a EMF.editor into a RAP
>>>>>>>> application
>>>>>>>> would be cool. Maybe the RAP folks can give more specific info now
>>>>>>>> so I added this post to their newsgroup.
>>>>>>>>
>>>>>>>> I could provide a EMF.editor sample plugin and maybe a RAP expert
>>>>>>>> could transfrom it into a RAP application and document how it
>>>>>>>> is done?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Reinhold
>>>>>>>>
>>>>>>>>
>>>>>>>> "Ed Merks" <merks@ca.ibm.com> wrote in message
>>>>>>>> news:fh9gfn$bg7$3@build.eclipse.org...
>>>>>>>>
>>>>>>>>> David,
>>>>>>>>>
>>>>>>>>> I was told RAP folks, but have not confirmed myself, that a
>>>>>>>>> generated EMF editor (they didn't specify RCP or otherwise)
>>>>>>>>> generally works except for some issues with cell editors in
>>>>>>>>> the properties view. Probably it's best just to try it and
>>>>>>>>> report back the problems you find. Then we can think about
>>>>>>>>> how best to help address those.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> david wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Has anyone looked at generating a RAP based viewing
>>>>>>>>>> application rather than a RCP based on from the ECore model?
>>>>>>>>>> If not then can someone outline the parts of the code that
>>>>>>>>>> would need to change to accommodate such a change?
>>>>>>>>>>
>>>>>>>>>> Thx.
>>>>>>>>>>
>>>>>>>>>> David
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Compare] using separate model resource sets for left/right/ancestor
Next Topic:EMFT - Ecore Tools - Build Announcements
Goto Forum:
  


Current Time: Fri Apr 19 16:37:35 GMT 2024

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

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

Back to the top