Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] How to draw lines between tree items

Hi everybody,

I'm trying to make a eclipse plugin for the Dozer project (http://dozer.sourceforge.net/).

I would like to do a source tree, with a target tree, in a editor, I'va already done this with GEF Tree, or JFaces Tree, using a SashForm.

But When I want to use a PaletteRoot with a ConnectionCreationToolEntry for connecting a source tree item to a target tree item, it doesn't work ;-((

The GEF or JFaces Tree is part of Widget object and not Figure object, that's why it couldn't work !!

Well, I want to know if there is a simple solution to do (or solve) this kind of thing ???

It seems very boring to do a TreeFigure who implements the IFigure Interface, or to use a basic drawLine method !!! I prefer to use a PolylineConnection to do the job ;-)

Well, hope that somebody could help me ...

Sincerely

Bruno


Back to the top