Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Shapes Example
Shapes Example [message #219078] Fri, 07 July 2006 05:35
Eclipse UserFriend
Originally posted by:

I hv changed the Container figure as follows :

protected IFigure createFigure() {
Figure f = new Figure();
f.setLayoutManager(new FlowLayout());
return f;
and the layout policy is extended FlowLayoutEditPolicy:
but in the
getCreateCommand(CreateRequest Request)
EditPart after = getInsertionReference(request);
getInsertionReference always returns null.
So a child doesn't get added....

Has sm1 faced a similar problem... how to go about it???

Previous Topic:Two kinds of connections
Next Topic:Child EditPart Problems - XYLayoutPolicy??
Goto Forum:

Current Time: Thu Nov 26 16:09:09 GMT 2015

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

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