|
|
|
|
Re: Is it possible to use GEF for a standalone application? [message #26695 is a reply to message #26026] |
Wed, 09 October 2002 13:56  |
Eclipse User |
|
|
|
Originally posted by: mec.enteract.com
"Randy Hudson" <hudsonr@us.eye-bee-em.com> wrote in message
news:ao1c6m$q2s$1@rogue.oti.com...
> > We did this here with a plugin that was derivative of the Logic Plugin
> > example. Our goal is to allow editing of a graph flow inside of Eclipse
> > while a stand-alone application is used by an end-user. Another coder
did
> > the prototype to prove we could do this - but I believe he just created
a
> > Java application project, imported everything and removed all the
> references
> > to Eclipse platform code. I think he ended up creating a stub version
of
> > EditorPart and that minimized the changes necessary to the rest of our
>
> You don't need to have an EditorPart to use GEF, although most application
> do.
Just talked to Sanjiv - he said that the reason he stubbed out EditorPart
was...laziness! (OK - just kidding!)
He did it because we had a file that was serialized from our GEF-based
editor and as we went to stream it back into a stand-alone application it
was trying to regenerate its object model. Instead of fixing our
serializing to eliminate the references it was quicker and easier (we're in
prototype mode anyway) to just create a stubbed out base class that is used
only in the standalone application. That way we can use exactly the same
file and load it into either the Editor or the run-time app.
Sanjiv promises that when (if?) we make it to production he'll do it the
'right' way.
|
|
|
Powered by
FUDForum. Page generated in 0.04461 seconds