Skip to main content



      Home
Home » Eclipse Projects » GEF » How to create a figure in an editor without DND
How to create a figure in an editor without DND [message #129319] Wed, 28 April 2004 04:48 Go to next message
Eclipse UserFriend
Originally posted by: comtec.fraunhofer.com

Hi,

i want to create a figure in an editor by pressing a button. the figure
should appear without DND. is that possible? In an example a CreateRequest
was created. But I don't know how I can send this request to the editor.
I've only a reference to an GraphicalEditorWithPalette.

regards

Ulli
Re: How to create a figure in an editor without DND [message #129360 is a reply to message #129319] Wed, 28 April 2004 13:17 Go to previous message
Eclipse UserFriend
Originally posted by: phil.williams.toadmail.com

There is probably a better way to do this, but I basically by passed the
request. I am doing something similar to what you ask, but instead of
using a create request, I just generate and execute create commands.
Take a look at the edit policy that is handling the CreateRequest and
you should see what needs to be done.

HTH,
Phil

Ulrich Siebert wrote:

>Hi,
>
>i want to create a figure in an editor by pressing a button. the figure
>should appear without DND. is that possible? In an example a CreateRequest
>was created. But I don't know how I can send this request to the editor.
>I've only a reference to an GraphicalEditorWithPalette.
>
>regards
>
>Ulli
>
>
>
>
Previous Topic:Clipping ConnectionAnchor to the top/bottom of the parent's scrollpane?
Next Topic:Capture Editor as Image
Goto Forum:
  


Current Time: Thu Jul 03 10:10:09 EDT 2025

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

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

Back to the top