Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF & RCP Support?
GEF & RCP Support? [message #206242] Tue, 27 December 2005 06:05 Go to next message
Eclipse UserFriend
Originally posted by: dutz.c-ware.de

Hi,

I am realy desperate. I am working on my final exam - a graphical editor
based on eclipse - and eclipse is eating up my soul ;)

Is there a specialist in the area of Frankfurt (Germany) who could help
me by having a look at my work and assisting me in finishing it. I am
not looking for someone to finish it for me, I just need a guide to show
me the way and tell me what I am doing wrong. I am willing to pay for
this service.

Pleas help me, I think I am going nuts on this "simple" editor, since
most of my deadlines have passed and I can't seem to finish it without help.

Chris
Re: GEF & RCP Support? [message #206258 is a reply to message #206242] Tue, 27 December 2005 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: info.dfm2html.com

> I am realy desperate. I am working on my final exam - a graphical editor
> based on eclipse - and eclipse is eating up my soul ;)
I do my final exam on an editor, too, in Braunschweig

>
> Is there a specialist in the area of Frankfurt (Germany) who could help me
> by having a look at my work and assisting me in finishing it. I am not
> looking for someone to finish it for me, I just need a guide to show me
> the way and tell me what I am doing wrong. I am willing to pay for this
> service.
I have no time at looking at your work since I have as little time as you.
First of all I would drop RCP support and perhaps add it if the whole
editor is finished. I spend much time on it and now dropped it.
In the GEF FAQ they say GEF not supports RCP officially (and I am too new to
Eclipse programming
to hack it).

What is the underlying model of the editor (EMF or your own), how are they
saved
(XMI or your own persistence)? And what is your model about?
In generally, one can say that you can program years on graphical editors,
thats why my
tutor said, i shall concentrate on the theory (I shall not only do a
graphical editor but first have
to develop the underlying model, a DSL for hypermedia systems).

Perhaps this Diplomarbeit helps a little:
http://webster.fh-hagenberg.at/staff/kurschl/pubs/advisedDT/ Sch%C3%B6nb%C3%B6ck.2005.pdf
Re: GEF & RCP Support? [message #206265 is a reply to message #206258] Tue, 27 December 2005 17:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

> First of all I would drop RCP support and perhaps add it if the whole
> editor is finished. I spend much time on it and now dropped it.
> In the GEF FAQ they say GEF not supports RCP officially (and I am too new
> to Eclipse programming
> to hack it).

This is not correct. We do support RCP+views plug-in, ever since RCP was
created. Please point out any statements otherwise. We do not support
non-workbench usage of GEF, but that's different.
Re: GEF & RCP Support? [message #206272 is a reply to message #206265] Wed, 28 December 2005 00:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: info.dfm2html.com

>> First of all I would drop RCP support and perhaps add it if the whole
>> editor is finished. I spend much time on it and now dropped it.
>> In the GEF FAQ they say GEF not supports RCP officially (and I am too new
>> to Eclipse programming
>> to hack it).
>
> This is not correct. We do support RCP+views plug-in, ever since RCP was
> created. Please point out any statements otherwise. We do not support
> non-workbench usage of GEF, but that's different.

I read in some Eclipse-book that no package should be included in an
RCP-application
containing some "*.ide.*" plugin. Does a workbench usage include any
ide-plugins?

Another question is:
My feature includes three plugins. Now for RCP-adaption, can one build
wrapper-plugins (and a wrapper-feature) wrapping my existing plugins
and from which I can build a RCP application?
Or if it is even simpler: can I adjust my existing plugins - without loosing
normal behavior when installed within an Eclipse IDE - to work with a
feature which purpose it is
to build an RCP application?

My current plugins are:
One derived from EDiagram example (should be RCP compatible)
One just using GEF without EMF (should be even simpler)
One textual editor with syntax highlighting and problem/warning messages,
like the Ant-editor (i think this is hard to convert to RCP?)
Re: GEF & RCP Support? [message #206279 is a reply to message #206272] Wed, 28 December 2005 08:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.rohe.stud.tu-ilmenau.de

Jörg schrieb:
>>>First of all I would drop RCP support and perhaps add it if the whole
>>>editor is finished. I spend much time on it and now dropped it.
>>>In the GEF FAQ they say GEF not supports RCP officially (and I am too new
>>>to Eclipse programming
>>>to hack it).
>>
>>This is not correct. We do support RCP+views plug-in, ever since RCP was
>>created. Please point out any statements otherwise. We do not support
>>non-workbench usage of GEF, but that's different.
>
>
> I read in some Eclipse-book that no package should be included in an
> RCP-application
> containing some "*.ide.*" plugin. Does a workbench usage include any
> ide-plugins?

A RCP application can contain IDE stuff. RCP defines only the smallest
set of Eclipse plug-ins which must exist to run an own RCP application.
You can extend this set to include every other plug-in you need.

>
> Another question is:
> My feature includes three plugins. Now for RCP-adaption, can one build
> wrapper-plugins (and a wrapper-feature) wrapping my existing plugins
> and from which I can build a RCP application?
> Or if it is even simpler: can I adjust my existing plugins - without loosing
> normal behavior when installed within an Eclipse IDE - to work with a
> feature which purpose it is
> to build an RCP application?

I would create a fourth plug-in which contains only the stuff needed to
start the RCP application (PlatformRunnable and Advisors). The other
three plug-ins shouldn't know if they are started in a RCP application
or an Eclipse IDE. The only dependencies for them are the required plug-ins.

Kind regards,
Daniel
Re: GEF & RCP Support? [message #206434 is a reply to message #206279] Sat, 31 December 2005 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeremyd.myriadfinancial.com

just to add a little to Daniel's post:
you can create this fourth plugin really easy by letting eclipse's New
Plug-In Project wizard do it for you - if you haven't seen it already,
at the bottom of the second page it will ask if you want to create an
RCP application, select yes and then follow through to create the plugin
from the "Hello RCP" template.
from here, you'll probably want to post to the RCP newsgroup.
also, if this is an open project, put up a link to the code and maybe
someone here (or in the RCP newsgroup) can look at it and give suggestions.

good luck!


Daniel Rohe wrote:
> Jörg schrieb:
>
>>>> First of all I would drop RCP support and perhaps add it if the whole
>>>> editor is finished. I spend much time on it and now dropped it.
>>>> In the GEF FAQ they say GEF not supports RCP officially (and I am
>>>> too new to Eclipse programming
>>>> to hack it).
>>>
>>>
>>> This is not correct. We do support RCP+views plug-in, ever since RCP
>>> was created. Please point out any statements otherwise. We do not
>>> support non-workbench usage of GEF, but that's different.
>>
>>
>>
>> I read in some Eclipse-book that no package should be included in an
>> RCP-application
>> containing some "*.ide.*" plugin. Does a workbench usage include any
>> ide-plugins?
>
>
> A RCP application can contain IDE stuff. RCP defines only the smallest
> set of Eclipse plug-ins which must exist to run an own RCP application.
> You can extend this set to include every other plug-in you need.
>
>>
>> Another question is:
>> My feature includes three plugins. Now for RCP-adaption, can one build
>> wrapper-plugins (and a wrapper-feature) wrapping my existing plugins
>> and from which I can build a RCP application?
>> Or if it is even simpler: can I adjust my existing plugins - without
>> loosing
>> normal behavior when installed within an Eclipse IDE - to work with a
>> feature which purpose it is
>> to build an RCP application?
>
>
> I would create a fourth plug-in which contains only the stuff needed to
> start the RCP application (PlatformRunnable and Advisors). The other
> three plug-ins shouldn't know if they are started in a RCP application
> or an Eclipse IDE. The only dependencies for them are the required
> plug-ins.
>
> Kind regards,
> Daniel
Re: GEF & RCP Support? [message #207176 is a reply to message #206258] Wed, 11 January 2006 16:44 Go to previous message
Eclipse UserFriend
Originally posted by: dutz.c-ware.de

Well then hi (leidensgenosse) :)

After 3 Weeks of locking myself away from the outside world and the piza
guy now beeing my best frind I managed to sort out all of my problems.
There are sill some small ones, but i'll sort them out till end of this
week.

> I do my final exam on an editor, too, in Braunschweig
>
> I have no time at looking at your work since I have as little time as you.
> First of all I would drop RCP support and perhaps add it if the whole
> editor is finished. I spend much time on it and now dropped it.
> In the GEF FAQ they say GEF not supports RCP officially (and I am too new to
> Eclipse programming
> to hack it).

I am runing my GEF Editors without any problems as RCP application.

> What is the underlying model of the editor (EMF or your own), how are they
> saved
> (XMI or your own persistence)? And what is your model about?

After several refactoring efforts I threw away all the classical model
code from the examples and created "my own" model. All I did was to use
a simple Dom4J Document as model, since I could do quick XPath
evaluations and easily load and save the entire model as XML. As I
couldn't find any event-enabled dom implementation I created some
wrapper classes enabling me to register listeners for dom nodes. If a
node or attibute changes Events are fired for this node as well as all
CHILD_MODIFIED events for its parents. Realy made everything a lot easier.

> In generally, one can say that you can program years on graphical editors,
> thats why my
> tutor said, i shall concentrate on the theory (I shall not only do a
> graphical editor but first have
> to develop the underlying model, a DSL for hypermedia systems).

I am working on mine for about 1,5 years now (not full-time). After
several unsuccessfull attempts with other frameworks, at least I ended
with eclipse and GEF and I must say after begining to understand the
internals It can be sort of fun ... I simply can't beleve I am actually
saying this ;)

>
> Perhaps this Diplomarbeit helps a little:
> http://webster.fh-hagenberg.at/staff/kurschl/pubs/advisedDT/ Sch%C3%B6nb%C3%B6ck.2005.pdf
>


Well good luck to you all :)
Christofer
Previous Topic:again on actionbarcontributor
Next Topic:Moveable Connection anchors
Goto Forum:
  


Current Time: Mon Jan 13 13:53:21 GMT 2025

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

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

Back to the top