Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] A question regarding Eclipse/GEF/Draw2d


Please post this question to the newsgroup.  In short, draw2d connection *only* requires anchors at each end.  GEF ConnectionEditPart requires EditParts at each end.  You can create your own EditPart which is not a ConnectionEditPart, but which uses a Draw2d Connection for its figure.

-randy



"Dj Shark" <DjShark@xxxxxxxxxxxx>
Sent by: gef-dev-admin@xxxxxxxxxxx

01/16/2003 05:52 PM
Please respond to gef-dev

       
        To:        gef-dev@xxxxxxxxxxx
        cc:        
        Subject:        [gef-dev] A question regarding Eclipse/GEF/Draw2d



Hello there,
 
I'm new to Eclipse/GEF/Draw2d - so please bare with me :-)
 
I want to construct a visual graph with edges, using GEF/draw2d (and in some way, SWT).
As I've read the documentation classes, I should use the interface Connection (or more accurately, an implementor such as PolylineConnection). The problem is that I would like to have some edges which are "hanging in the air" - that is -> I want to allow them to not connect to a source or a target (or both!), but connection must always be connected between two IFigures (such as nodes). Does anyone have a suggestion on what should I use ?
 
Thanking you in advance,
                                    Dj Shark

Back to the top