Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » What happened to GraphVisitor in GEF 3.2?
What happened to GraphVisitor in GEF 3.2? [message #214479] Tue, 18 April 2006 00:06 Go to next message
Eclipse UserFriend
Originally posted by: p.beauvoir.bolton.ac.uk

Hi,

I've been playing with the GEF Schema Editor example, which has a class
"DummyEdgeCreator" that extends
org.eclipse.draw2d.internal.graph.GraphVisitor. This worked in 3.1.1,
but now in GEF 3.2 (and Eclipse 3.2 RC1) I see that GraphVisitor has
been moved to the org.eclipse.draw2d.graph package and is not visible.

I'm a bit screwed by this change. Any advice on what to do?

PB
Re: What happened to GraphVisitor in GEF 3.2? [message #214567 is a reply to message #214479] Tue, 18 April 2006 20:13 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Any class within the "internal" package namespace is not supported as an API
that is consumable by clients. By this contract it can be freely refactored
to meet the needs of the specific algorithm it supports.

Having said this, it doesn't help your particular situation... This
DummyEdgeCreator, is there any reason why these edges couldn't be created
when the client is contributing the proxy nodes and edges to the
DirectedGraph class?

-Steve

"Phillip Beauvoir" <p.beauvoir@bolton.ac.uk> wrote in message
news:e21ahf$pn$1@utils.eclipse.org...
> Hi,
>
> I've been playing with the GEF Schema Editor example, which has a class
> "DummyEdgeCreator" that extends
> org.eclipse.draw2d.internal.graph.GraphVisitor. This worked in 3.1.1,
> but now in GEF 3.2 (and Eclipse 3.2 RC1) I see that GraphVisitor has
> been moved to the org.eclipse.draw2d.graph package and is not visible.
>
> I'm a bit screwed by this change. Any advice on what to do?
>
> PB
Re: What happened to GraphVisitor in GEF 3.2? [message #214574 is a reply to message #214567] Tue, 18 April 2006 21:48 Go to previous message
Eclipse UserFriend
Originally posted by: p.beauvoir.bolton.ac.uk

Steven Shaw wrote:
> Any class within the "internal" package namespace is not supported as an API
> that is consumable by clients. By this contract it can be freely refactored
> to meet the needs of the specific algorithm it supports.
>
> Having said this, it doesn't help your particular situation... This
> DummyEdgeCreator, is there any reason why these edges couldn't be created
> when the client is contributing the proxy nodes and edges to the
> DirectedGraph class?
>
> -Steve
>
> "Phillip Beauvoir" <p.beauvoir@bolton.ac.uk> wrote in message
> news:e21ahf$pn$1@utils.eclipse.org...
>> Hi,
>>
>> I've been playing with the GEF Schema Editor example, which has a class
>> "DummyEdgeCreator" that extends
>> org.eclipse.draw2d.internal.graph.GraphVisitor. This worked in 3.1.1,
>> but now in GEF 3.2 (and Eclipse 3.2 RC1) I see that GraphVisitor has
>> been moved to the org.eclipse.draw2d.graph package and is not visible.
>>
>> I'm a bit screwed by this change. Any advice on what to do?
>>
>> PB
>
>

Indeed. I just removed the "extends GraphVisitor" of DummyEdgeCreator.
It seems to work fine without it.

Cheers,

PB
Previous Topic:Update site url of GEF Interim Build
Next Topic:Choosing constructor to create component instances
Goto Forum:
  


Current Time: Tue Jan 21 19:50:23 GMT 2025

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

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

Back to the top