Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 132899

Summary: Customizable palette title for FlyoutPaletteComposite
Product: [Tools] GEF Reporter: Scott Barkley <scott.g.barkley>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Barkley CLA 2006-03-22 16:26:49 EST
In org.eclipse.gef.ui.palette.FlyoutPaletteComposite, the title shown on the palette is a constant 'Palette' defined in GEFMessages and set in the private class TitleLabel.

It would be useful to allow the developer to customize that string, for example by making it an instance-specific property on FlyoutPaletteComposite (with 'Palette' as the default, of course).

This would be useful, for example, in providing a legend (full of static entries) to complement the palette in a case where the sets of items on each would not be identical.  Then, one could be titled 'Palette' and the other 'Legend', and the flyouts would otherwise remain consistent in appearance and behavior.
Comment 1 Randy Hudson CLA 2006-03-27 11:26:15 EST
When the view named "Palette" is opened, the flyout disappears. It does not make sense to have the view named palette consistently, but have the flyout's name change among different editors. Also, the customizer dialog is called "Palette Customizer", etc.

Someone has been talking on the newsgroup about making an extendible flyout widget. Maybe you could use this widget to host your "Legend".