Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Enhancements to the Palette

The Palette currently takes a model which is more or less static. By default there is no notification mechanism on the Palette Model. So, the default implementation can't update to changes. Also, the user cannot change the view settings on the palette currently.

Here is what I see as the design constraints for a better Palette:
1) Allow the programmer and user to make "mode" changes like whether "drawers" should close automatically, or whether the labels/descriptions/large Icons should be displayed.
2) Allow entries to be created, renamed, reorganized, etc.
3) Allow the application to define an extension point for its Palette.
4) Persist any changes made to the palette

If GEF supported all of these items, we would be doing better than the Workbench Menubar. The Workbench allows extensions to insert items into the menu, but it doesn't allow the User to reorganize them. Once you allow the user to move items, you have to handle the case where the Item they moved has been uninstalled (plugin/feature deactivated).

Back to the top