| 
| GEF Palette [message #248033] | Thu, 02 April 2009 06:31  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: massimiliano.ziccardi.gmail.com 
 Hi all.
 
 I wrote my first GEF application, and finally I got something working.
 
 Just one more question: why my palette is so different from eclipse's
 palettes?
 
 What I mean is: why my palette tools do not looks as button, but they
 just have a cyan background color?
 
 Thank you all,
 Massimiliano
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: GEF Palette [message #248057 is a reply to message #248053] | Fri, 03 April 2009 03:46  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: massimiliano.ziccardi.gmail.com 
 Thank you a lot.
 
 In my opinion, th old look was *much* nicer...
 
 Thanks,
 Massimiliano
 
 Ben Vitale wrote:
 > The palette you are getting is a new version of the same palette. There
 > was a re-design somewhere along the way (I believe for Eclipse 3.3 or 3.4).
 >
 > The other screenshot is just the way it used to look. I don't know if
 > there is a way to go back.
 >
 > -Ben
 >
 > Massimiliano Ziccardi wrote:
 >> One more thing: here is the code I use to create the palette
 >>
 >> PaletteRoot root = new PaletteRoot();
 >> PaletteGroup manipGroup = new PaletteGroup("PaletteGroup");
 >> root.add(manipGroup);
 >>
 >> SelectionToolEntry selectionToolEntry = new SelectionToolEntry();
 >> manipGroup.add(selectionToolEntry);
 >> manipGroup.add(new MarqueeToolEntry());
 >>         // ----
 >>
 >> PaletteSeparator sep2 = new PaletteSeparator();
 >> root.add(sep2);
 >>
 >> PaletteGroup instGroup = new PaletteGroup("Creators");
 >> root.add(instGroup);
 >>
 >> CreationToolEntry createClassEntry = new CreationToolEntry("classe",
 >> "Creates new steps", new SimpleFactory(Step.class), null, null);
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04495 seconds