Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » createConnection missing?
createConnection missing? [message #84878] Mon, 23 June 2003 21:05 Go to next message
Eclipse UserFriend
Originally posted by: rahul.dhar.intel.com

There used to be a method createConnection in
com.ibm.etools.gef.editparts.AbstractEditPart (or so I'm told). I was
also told that it had moved to the class
org.eclipse.gef.editparts.AbstractEditPart when GEF became part of
Eclipse. However, I can't find it in the API. Has it been removed or
moved somewhere? Is there a method that does the same thing?

Any guidance is much appreciated.

Thanks,
-Rahul

Intel Corp. does not endorse any content in this post. All opinions
contained are solely the opinions of the poster.
Re: createConnection missing? [message #84894 is a reply to message #84878] Mon, 23 June 2003 21:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

It's in AbstractGraphicalEditPart, since only graphical editparts can have
connections.
Also, all createMethods now call out to an EditPartFactory by default. So
you can new everything in the same place now.

"Rahul Dhar" <rahul.dhar@intel.com> wrote in message
news:bd7q37$958$1@rogue.oti.com...
> There used to be a method createConnection in
> com.ibm.etools.gef.editparts.AbstractEditPart (or so I'm told). I was
> also told that it had moved to the class
> org.eclipse.gef.editparts.AbstractEditPart when GEF became part of
> Eclipse. However, I can't find it in the API. Has it been removed or
> moved somewhere? Is there a method that does the same thing?
>
> Any guidance is much appreciated.
>
> Thanks,
> -Rahul
>
> Intel Corp. does not endorse any content in this post. All opinions
> contained are solely the opinions of the poster.
>
Re: createConnection missing? [message #84981 is a reply to message #84894] Tue, 24 June 2003 13:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rahul.dhar.intel.com

Randy, thanks for your help.
However, I'm confused about how factories, editparts, models, etc work
together. Is there documentation on how each component plugs into the
overall application and how they're supposed to interact with each other?

Thanks.
-Rahul

Intel Corp. does not endorse any content in this post. All opinions
contained are solely the opinions of the poster.

Randy Hudson wrote:

> It's in AbstractGraphicalEditPart, since only graphical editparts can have
> connections.
> Also, all createMethods now call out to an EditPartFactory by default. So
> you can new everything in the same place now.

> "Rahul Dhar" <rahul.dhar@intel.com> wrote in message
> news:bd7q37$958$1@rogue.oti.com...
> > There used to be a method createConnection in
> > com.ibm.etools.gef.editparts.AbstractEditPart (or so I'm told). I was
> > also told that it had moved to the class
> > org.eclipse.gef.editparts.AbstractEditPart when GEF became part of
> > Eclipse. However, I can't find it in the API. Has it been removed or
> > moved somewhere? Is there a method that does the same thing?
> >
> > Any guidance is much appreciated.
> >
> > Thanks,
> > -Rahul
> >
> > Intel Corp. does not endorse any content in this post. All opinions
> > contained are solely the opinions of the poster.
> >
Re: createConnection missing? [message #84993 is a reply to message #84981] Tue, 24 June 2003 14:01 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The EditPartFactory does not work with your model. It's job is to create
the EditPart associated with an already-existing model object.

In the version you were using, you had to override createEditPart(Object
model) in multiple places. The only difference is that you can now create a
single EditPartFactory, set it on the EditPartViewer, and remove all
overrides of that method. Everything else is the same.

"Rahul Dhar" <rahul.dhar@intel.com> wrote in message
news:bd9kmo$pjk$1@rogue.oti.com...
> Randy, thanks for your help.
> However, I'm confused about how factories, editparts, models, etc work
> together. Is there documentation on how each component plugs into the
> overall application and how they're supposed to interact with each other?
>
> Thanks.
> -Rahul
>
> Intel Corp. does not endorse any content in this post. All opinions
> contained are solely the opinions of the poster.
>
> Randy Hudson wrote:
>
> > It's in AbstractGraphicalEditPart, since only graphical editparts can
have
> > connections.
> > Also, all createMethods now call out to an EditPartFactory by default.
So
> > you can new everything in the same place now.
>
> > "Rahul Dhar" <rahul.dhar@intel.com> wrote in message
> > news:bd7q37$958$1@rogue.oti.com...
> > > There used to be a method createConnection in
> > > com.ibm.etools.gef.editparts.AbstractEditPart (or so I'm told). I was
> > > also told that it had moved to the class
> > > org.eclipse.gef.editparts.AbstractEditPart when GEF became part of
> > > Eclipse. However, I can't find it in the API. Has it been removed or
> > > moved somewhere? Is there a method that does the same thing?
> > >
> > > Any guidance is much appreciated.
> > >
> > > Thanks,
> > > -Rahul
> > >
> > > Intel Corp. does not endorse any content in this post. All opinions
> > > contained are solely the opinions of the poster.
> > >
>
>
>
>
>
Previous Topic:RectilinearBendpointRouter - If the ManhattanConnectionRouter had bendpoints...
Next Topic:Double-Click (GEF)
Goto Forum:
  


Current Time: Wed Jul 17 11:56:19 GMT 2024

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

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

Back to the top