Skip to main content



      Home
Home » Eclipse Projects » GEF » How to use a tree viewer as a palette ?
How to use a tree viewer as a palette ? [message #160849] Tue, 07 December 2004 11:29 Go to next message
Eclipse UserFriend
Can someone please point me to a starting point for using
a JFrace TreViewer as a Palette;
preferably *inside* the "FlyoutPalette" instead of the drawers.

Thanks in advance
Florian
Re: How to use a tree viewer as a palette ? [message #160972 is a reply to message #160849] Wed, 08 December 2004 01:17 Go to previous message
Eclipse UserFriend
Florian Georg schrieb:
> Can someone please point me to a starting point for using
> a JFrace TreViewer as a Palette;
> preferably *inside* the "FlyoutPalette" instead of the drawers.

See GraphicalEditorWithFlyoutPalette#createPartControl

Probably you'll need to create your own immplementation starting from
scratch. (FlyoutPaletteComposite, CustomPalettePage, PaletteViewerPage,
PaletteViewer etc.) The current implementation is somewhat abstract but
expects a PaletteViewer to be a GraphicalViewer and not a TreeViewer.

It's all up to you. In the end it's just a widget ;)

Cu, Gunnar
Previous Topic:Line drawing in Panel Figure
Next Topic:New article: A Shape Diagram Editor
Goto Forum:
  


Current Time: Wed Jul 30 13:14:42 EDT 2025

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

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

Back to the top