You can look at GraphicalEditorWithFlyOutPalette :)
I hope You'll find your answers there :)
Cheers,Greg
mike cheng wrote:
Hi,
I have a need to create a Palette and Tree Viewer. And be able to
drag the
object from the palette to the tree viewer to create new object in the
tree.
I am new to GEF, read through some docs. I think I can create a
PaletteView which derives from ViewPart and create PaletteViewer,
PaletteRoot, etc. But I also like to have the flyout palette which is
attached to the view and can hide automatically or pin down. Since
there is
no EditPart in this particular scenario, can you recommend the proper GEF
class to create the palette? Any examples will be very helpful.
Thanks,
Mike