Skip to main content



      Home
Home » Eclipse Projects » GEF » Cannot add figures to my application
Cannot add figures to my application [message #58141] Sat, 25 January 2003 17:56 Go to next message
Eclipse UserFriend
Originally posted by: beneyal.hotmail.com

I'm new at Gef. I wrote a Gef application that displayes a few draw2d
figures (that went fine). I added a palette with a creation tool, in order
to enable the user to add more figures after the editor starts (I used the
Shapes example). The problem is that after I press the creation tool
button, and then move the mouse to the spot where I want my new figure, I
get a "not allowed to put here" cursor all over.

Does any know why this happens ?
Thanks a lot.
Re: Cannot add figures to my application [message #59498 is a reply to message #58141] Wed, 29 January 2003 11:31 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Eyal" <beneyal@hotmail.com> wrote in message
news:b0v4n6$248$1@rogue.oti.com...
> I'm new at Gef. I wrote a Gef application that displayes a few draw2d
> figures (that went fine). I added a palette with a creation tool, in order
> to enable the user to add more figures after the editor starts (I used the
> Shapes example). The problem is that after I press the creation tool
> button, and then move the mouse to the spot where I want my new figure, I
> get a "not allowed to put here" cursor all over.

Most likely there is not an EditPolicy that understand creation. Look at
the integrated help and read about EditPolicies and the Layout Role.

> Does any know why this happens ?
> Thanks a lot.
>
Previous Topic:CircuitFigure Logic Editor question
Next Topic:[SWT] Widget for the "Debug" icon?
Goto Forum:
  


Current Time: Wed Apr 16 13:33:09 EDT 2025

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

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

Back to the top