Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Add a newly created/custom component on the palette
Add a newly created/custom component on the palette [message #1059211] Fri, 17 May 2013 06:27
Ryan McCarthy is currently offline Ryan McCarthy
Messages: 1
Registered: May 2013
Junior Member

I am wondering if it is possible to add a newly created diagram component on the palette :

I am adding components on the diagram programmatically (with a wizard to ask the user which variables he would like to add in/on the component). And I would like to give the user the possibility to make a similar component by dragging and dropping from the palette.

(say you created a component "wheel" with some variables, it would be nice to be able to create 4 of them without having to use the wizard every time)

Any idea how to ?
Previous Topic:How to Rotate rectangle in GEF?
Next Topic:Wrap nodes with others
Goto Forum:

Current Time: Sat Aug 23 15:52:26 EDT 2014

Powered by FUDForum. Page generated in 0.01777 seconds