Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problem with Child creation using the palette
Problem with Child creation using the palette [message #215289] Fri, 28 April 2006 18:08
Eclipse UserFriend
Originally posted by: luiinge.fiv.upv.es

Hello, I'm newbie in GEF programming, and I need help!!

Well, after reading lots of tutorials and examples, I have started my own
graphical editor.
My model is a tree of components, which one with its own EditPart.

When the editor opens, it loads rightly the root component (the diagram,
that uses a GridLayer).
But when I try to create a child component with the palette, the cursor
shows the forbidden cursor and I can't to add the child.

Why is happen that?

I suposse the problem is whith the EditPart policies (I'm using no policies
at the moment),
or perhaps with the CreationTool.
I create the tool entry with:

new CombinedTemplateCreationEntry("text","text", new
SimpleFactory(Diagram..class), null,null)

Have I to add the drag/drop listeners attached the palette entry and the
editpart manually?

Where is the problem??

Ah, please sorry my bad bad english!!
Previous Topic:Using SWT control as figure in GEF editor
Next Topic:suggestions for visual clues of "cut" items
Goto Forum:
  


Current Time: Thu Apr 25 00:52:49 GMT 2024

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

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

Back to the top