What happened to GraphVisitor in GEF 3.2? [message #214479] |
Tue, 18 April 2006 00:06 |
Eclipse User |
|
|
|
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 #214574 is a reply to message #214567] |
Tue, 18 April 2006 21:48 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02629 seconds