|Palette Name as shape label [message #230568]
||Tue, 13 February 2007 10:01
Originally posted by: one.eight.three.gmail.com|
i have a palette which i uses a paletteDrawer to create elements
dynamically based on an external list. but each item in the drawer is an
instance of the same Shape.
is it a way i can pass the palette label name and maybe the description to
i experimented around but have only managed with setting the label in the
ShapeCreateCommand in the execute() method.
this means that i would have to pass the value from the DiagramEditPart in
the getCreateCommand method.
my prob now is how do i pass the name from the palette to this method. or
does anyone know of a better solution?
Powered by FUDForum
. Page generated in 0.02101 seconds