Home » Eclipse Projects » Remote Application Platform (RAP) » EMF editor in RAP?
|
Re: EMF editor in RAP? [message #52523 is a reply to message #51345] |
Wed, 17 October 2007 13:00 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I didn't find the time till now to test how much work it is (and whether it
is feasible at all at the time beeing) to adapt an EMF editor to RAP. In
principle I would follow the steps in the tutorial till the editor is
working in RCP. After that I would take the generated plug-ins and import
them into a Workspace with a RAP target. Then I would change the
dependencies of the UI Plug-ins to the available RAP UI Plug-ins and add the
missing core plug-ins to the target. After that it you will see how much
compile errors the generated plug-ins have. Those can often be reduced by
commenting the problematic lines (which may leeds to reduced functionality
not necessarily to a no-go) or with some simple replacements (like code for
resource creation). If it's possible to remove all of the compile errors in
a reasonable way I would embbed the plug-in in the demo launch and see what
happens...
Ciao
Frank
"David Struck" <struck@stottlerhenke.com> schrieb im Newsbeitrag
news:2da8fe1464dabbdd05e5bb57030c6a6b$1@www.eclipse.org...
> Hi, I've followed the instructions on this page,
>
> http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.em f/doc/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html
>
> to generate an EMF editor plugin. Is it now possible to embed this editor
> in RAP and run it in a web page? If so, what steps would I need to take to
> accomplish this? Also, I'm not an Eclipse plugin developer - I've never
> created one. How much would familiarity with the process of creating
> Eclipse plugins help me in figuring out how to accomplish this task?
>
> Thanks,
>
> David
>
|
|
|
Re: EMF editor in RAP? [message #53853 is a reply to message #52523] |
Fri, 19 October 2007 20:05 |
Eclipse User |
|
|
|
Originally posted by: struck.stottlerhenke.com
Thanks, Frank. To the extent I understand the process, that was sort of my
understanding of how to do it. I actually did try something along these
lines and wasn't able to complete it but it's worth giving it another go.
As far as adding core plug-ins to the RAP target, will that work? I was
under the impression that the only plugins that work with the RAP target
are those that come with it by default.
If I wind up trying to go through this process in the next few weeks, I'll
be sure to post my results.
Thanks again,
David
Frank Appel wrote:
> Hi,
> I didn't find the time till now to test how much work it is (and whether it
> is feasible at all at the time beeing) to adapt an EMF editor to RAP. In
> principle I would follow the steps in the tutorial till the editor is
> working in RCP. After that I would take the generated plug-ins and import
> them into a Workspace with a RAP target. Then I would change the
> dependencies of the UI Plug-ins to the available RAP UI Plug-ins and add the
> missing core plug-ins to the target. After that it you will see how much
> compile errors the generated plug-ins have. Those can often be reduced by
> commenting the problematic lines (which may leeds to reduced functionality
> not necessarily to a no-go) or with some simple replacements (like code for
> resource creation). If it's possible to remove all of the compile errors in
> a reasonable way I would embbed the plug-in in the demo launch and see what
> happens...
> Ciao
> Frank
> "David Struck" <struck@stottlerhenke.com> schrieb im Newsbeitrag
> news:2da8fe1464dabbdd05e5bb57030c6a6b$1@www.eclipse.org...
>> Hi, I've followed the instructions on this page,
>>
>>
http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.em f/doc/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html
>>
>> to generate an EMF editor plugin. Is it now possible to embed this editor
>> in RAP and run it in a web page? If so, what steps would I need to take to
>> accomplish this? Also, I'm not an Eclipse plugin developer - I've never
>> created one. How much would familiarity with the process of creating
>> Eclipse plugins help me in figuring out how to accomplish this task?
>>
>> Thanks,
>>
>> David
>>
|
|
|
Re: EMF editor in RAP? [message #53876 is a reply to message #53853] |
Fri, 19 October 2007 22:35 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Hi,
I've already use the core of EMF when evaluating RAP. I simply copied
the EMF bits into the RAP target.
I didn't used any generated editor code. Only Ecore-thingies in
conjunction with eclipse.databinding.
Tom
David Struck schrieb:
> Thanks, Frank. To the extent I understand the process, that was sort of
> my understanding of how to do it. I actually did try something along
> these lines and wasn't able to complete it but it's worth giving it
> another go. As far as adding core plug-ins to the RAP target, will that
> work? I was under the impression that the only plugins that work with
> the RAP target are those that come with it by default.
>
> If I wind up trying to go through this process in the next few weeks,
> I'll be sure to post my results.
>
> Thanks again,
>
> David
>
> Frank Appel wrote:
>
>> Hi,
>
>> I didn't find the time till now to test how much work it is (and
>> whether it is feasible at all at the time beeing) to adapt an EMF
>> editor to RAP. In principle I would follow the steps in the tutorial
>> till the editor is working in RCP. After that I would take the
>> generated plug-ins and import them into a Workspace with a RAP target.
>> Then I would change the dependencies of the UI Plug-ins to the
>> available RAP UI Plug-ins and add the missing core plug-ins to the
>> target. After that it you will see how much compile errors the
>> generated plug-ins have. Those can often be reduced by commenting the
>> problematic lines (which may leeds to reduced functionality not
>> necessarily to a no-go) or with some simple replacements (like code
>> for resource creation). If it's possible to remove all of the compile
>> errors in a reasonable way I would embbed the plug-in in the demo
>> launch and see what happens...
>
>
>> Ciao
>> Frank
>
>
>> "David Struck" <struck@stottlerhenke.com> schrieb im Newsbeitrag
>> news:2da8fe1464dabbdd05e5bb57030c6a6b$1@www.eclipse.org...
>>> Hi, I've followed the instructions on this page,
>>>
>>>
> http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.em f/doc/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html
>
>>>
>>> to generate an EMF editor plugin. Is it now possible to embed this
>>> editor in RAP and run it in a web page? If so, what steps would I
>>> need to take to accomplish this? Also, I'm not an Eclipse plugin
>>> developer - I've never created one. How much would familiarity with
>>> the process of creating Eclipse plugins help me in figuring out how
>>> to accomplish this task?
>>>
>>> Thanks,
>>>
>>> David
>>>
>
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: EMF editor in RAP? [message #54158 is a reply to message #53853] |
Mon, 22 October 2007 14:08 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
adding existing bundles to RAP sometimes works out of the box- sometimes
not. That ones added to the target are those that are needed as
infrastructure for RAP. If necessary RAP itself contains adjustments to get
along with those bundles. The RAP workbench for example uses an additional
JobManagerAdapter to deal with the application scope of the JobManager.
So, if a bundle isn't available in the target it doesn't inevitable mean
that it will not work with RAP. I know a RAP Application that uses
org.eclipse.core.resources sharing the same workspace between sessions. But
for example using (globally registered) resource-change-listeners shared
over session boundaries, may have a lot of consequences if done wrong
(possible memory leaks etc.) - because of this such things have to be
examined case by case.
Ciao
Frank
"David Struck" <struck@stottlerhenke.com> schrieb im Newsbeitrag
news:b251e923f1fe1399304b7015fea5c04a$1@www.eclipse.org...
> Thanks, Frank. To the extent I understand the process, that was sort of my
> understanding of how to do it. I actually did try something along these
> lines and wasn't able to complete it but it's worth giving it another go.
> As far as adding core plug-ins to the RAP target, will that work? I was
> under the impression that the only plugins that work with the RAP target
> are those that come with it by default.
>
> If I wind up trying to go through this process in the next few weeks, I'll
> be sure to post my results.
>
> Thanks again,
>
> David
>
> Frank Appel wrote:
>
>> Hi,
>
>> I didn't find the time till now to test how much work it is (and whether
>> it is feasible at all at the time beeing) to adapt an EMF editor to RAP.
>> In principle I would follow the steps in the tutorial till the editor is
>> working in RCP. After that I would take the generated plug-ins and import
>> them into a Workspace with a RAP target. Then I would change the
>> dependencies of the UI Plug-ins to the available RAP UI Plug-ins and add
>> the missing core plug-ins to the target. After that it you will see how
>> much compile errors the generated plug-ins have. Those can often be
>> reduced by commenting the problematic lines (which may leeds to reduced
>> functionality not necessarily to a no-go) or with some simple
>> replacements (like code for resource creation). If it's possible to
>> remove all of the compile errors in a reasonable way I would embbed the
>> plug-in in the demo launch and see what happens...
>
>
>> Ciao
>> Frank
>
>
>> "David Struck" <struck@stottlerhenke.com> schrieb im Newsbeitrag
>> news:2da8fe1464dabbdd05e5bb57030c6a6b$1@www.eclipse.org...
>>> Hi, I've followed the instructions on this page,
>>>
>>>
> http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.em f/doc/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html
>>>
>>> to generate an EMF editor plugin. Is it now possible to embed this
>>> editor in RAP and run it in a web page? If so, what steps would I need
>>> to take to accomplish this? Also, I'm not an Eclipse plugin developer -
>>> I've never created one. How much would familiarity with the process of
>>> creating Eclipse plugins help me in figuring out how to accomplish this
>>> task?
>>>
>>> Thanks,
>>>
>>> David
>>>
>
>
|
|
|
Re: EMF editor in RAP? [message #56824 is a reply to message #53853] |
Sat, 03 November 2007 16:07 |
Eclipse User |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
David,
did you have any success with generated EMF editor in RAP?
I tried this recently and it's tricky. That's because EMF uses a real
big part of Platform UI, which is sometimes not yet supported by RAP,
like DND, or some ActionFactory things. Also required bundles (like
emf.edit.ui) have direct dependencies on eclipse.ui, instead of certain
packages, but if you import them and shrink the unsupported stuff,
things should be ok...
Maybe it would be even useful to prepare and publish the special,
shrinked EMF bundles that work with RAP.
David Struck wrote:
> Thanks, Frank. To the extent I understand the process, that was sort
> of my understanding of how to do it. I actually did try something
> along these lines and wasn't able to complete it but it's worth giving
> it another go. As far as adding core plug-ins to the RAP target, will
> that work? I was under the impression that the only plugins that work
> with the RAP target are those that come with it by default.
>
> If I wind up trying to go through this process in the next few weeks,
> I'll be sure to post my results.
>
> Thanks again,
>
> David
>
> Frank Appel wrote:
>
>> Hi,
>
>> I didn't find the time till now to test how much work it is (and
>> whether it is feasible at all at the time beeing) to adapt an EMF
>> editor to RAP. In principle I would follow the steps in the tutorial
>> till the editor is working in RCP. After that I would take the
>> generated plug-ins and import them into a Workspace with a RAP
>> target. Then I would change the dependencies of the UI Plug-ins to
>> the available RAP UI Plug-ins and add the missing core plug-ins to
>> the target. After that it you will see how much compile errors the
>> generated plug-ins have. Those can often be reduced by commenting the
>> problematic lines (which may leeds to reduced functionality not
>> necessarily to a no-go) or with some simple replacements (like code
>> for resource creation). If it's possible to remove all of the compile
>> errors in a reasonable way I would embbed the plug-in in the demo
>> launch and see what happens...
>
>
>> Ciao
>> Frank
>
>
>> "David Struck" <struck@stottlerhenke.com> schrieb im Newsbeitrag
>> news:2da8fe1464dabbdd05e5bb57030c6a6b$1@www.eclipse.org...
>>> Hi, I've followed the instructions on this page,
>>>
>>>
> http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.em f/doc/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html
>
>>>
>>> to generate an EMF editor plugin. Is it now possible to embed this
>>> editor in RAP and run it in a web page? If so, what steps would I
>>> need to take to accomplish this? Also, I'm not an Eclipse plugin
>>> developer - I've never created one. How much would familiarity with
>>> the process of creating Eclipse plugins help me in figuring out how
>>> to accomplish this task?
>>>
>>> Thanks,
>>>
>>> David
>>>
>
>
|
|
|
Goto Forum:
Current Time: Wed Dec 04 09:43:17 GMT 2024
Powered by FUDForum. Page generated in 0.03351 seconds
|