Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Displaying some text on empty palette.
Displaying some text on empty palette. [message #157017] Fri, 05 November 2004 17:14 Go to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

I have no drawer and only the select tool in the palette, but the user c=
an =

add drawers and palettes via the customize dialog. So initially the =

palette is almost empty and i want to display some text on it like: =

"Right-click here and select customize to add palette items."

Similar to what the palette view does when no gef editor is active: =

there`s a display of "A palette i not available".

So where do i have to look to to implement this?
Re: Displaying some text on empty palette. [message #157033 is a reply to message #157017] Fri, 05 November 2004 18:39 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
The only way I can think of is to add a bogus entry on the palette (perhaps
a template entry in a separate group, and making its editpart not
selectable). Perhaps you should try some other approach. Tooltips, maybe?
Another option would be to add an empty drawer named "User-Customized Parts"
or something like that. And then, as tooltip, you mention that the user can
add new parts to that drawer.

"Frank Dyck" <dyx@gmx.net> wrote in message news:opsgz4u8yl0i05et@celeron...
I have no drawer and only the select tool in the palette, but the user can
add drawers and palettes via the customize dialog. So initially the
palette is almost empty and i want to display some text on it like:
"Right-click here and select customize to add palette items."

Similar to what the palette view does when no gef editor is active:
there`s a display of "A palette i not available".

So where do i have to look to to implement this?
Previous Topic:Adding Label to PolylineDecoration
Next Topic:Directed Cyclic Graph/Tree and Draw2d
Goto Forum:
  


Current Time: Thu Apr 25 09:59:23 GMT 2024

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

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

Back to the top