Skip to main content



      Home
Home » Eclipse Projects » GEF » Is it possible to use GEF for a standalone application?
- Is it possible to use GEF for a standalone application? [message #24763] Mon, 07 October 2002 02:30 Go to next message
Eclipse UserFriend
Originally posted by: someone.somewhere.net

Is it possible to use GEF for a standalone application?

Thanks.
- Re: Is it possible to use GEF for a standalone application? [message #25407 is a reply to message #24763] Tue, 08 October 2002 02:30 Go to previous messageGo to next message
Eclipse UserFriend
You can , but you need to modify source code and rebuild it.

NChen wrote:

> Is it possible to use GEF for a standalone application?

> Thanks.
- Re: Is it possible to use GEF for a standalone application? [message #25822 is a reply to message #25407] Wed, 09 October 2002 05:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mec.enteract.com

> NChen wrote:
> > Is it possible to use GEF for a standalone application?

"Kite" <yipeng97@yahoo.com> wrote in message
news:antu2c$l3k$1@rogue.oti.com...
> You can , but you need to modify source code and rebuild it.

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
code -- but I'm not sure if that was his final solution. I'll ask him later
today and post back here.
- Re: Is it possible to use GEF for a standalone application? [message #26026 is a reply to message #25822] Wed, 09 October 2002 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.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.
- 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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Moving figures using GEF drag and drop (minimal example)
Next Topic:ToolTip for Label figure
Goto Forum:
  


Current Time: Sat Apr 19 16:56:52 EDT 2025

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

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

Back to the top