[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Palette and Tree View

PaletteView already is provided in GEF.
See TemplateTransferDragSource, etc.

"mike cheng" <mcheng@xxxxxxxxx> wrote in message 
news:dj6k5j$p3v$1@xxxxxxxxxxxxxxxxxxx
> 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
>
>