Skip to main content

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:How to synchronize the two scrollbar movements of two graphical viewers
Next Topic:drag & drop & SnapToHelper
Goto Forum:

Current Time: Wed May 23 17:05:47 GMT 2018

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

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

Back to the top