Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Change palette icon
Change palette icon [message #908494] Wed, 05 September 2012 09:30 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 186
Registered: October 2010
Senior Member
How do I change palette icon ( that round icon with some coloured circles)
Is it possible?


rui
Re: Change palette icon [message #908557 is a reply to message #908494] Wed, 05 September 2012 10:58 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1574
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Rui,

the icon is provided as part of the GEF GraphicalEditorWithFlyoutPalette
functionality we reuse. At first glance I haven't found a way to replace it.
:-(

Michael
Re: Change palette icon [message #908591 is a reply to message #908557] Wed, 05 September 2012 12:04 Go to previous message
Rui Domingues is currently offline Rui Domingues
Messages: 186
Registered: October 2010
Senior Member
Ya. I see it is hardcoded in

org.eclipse.gef.internal.InternalImages 
public static final String IMG_PALETTE = "icons/palette_view.gif";//$NON-NLS-1$

--------
org.eclipse.gef.ui.palette.FlyoutPaletteComposite
 private class TitleLabel
   public TitleLabel(boolean isHorizontal) {
			super(GEFMessages.Palette_Label, InternalImages
					.get(InternalImages.IMG_PALETTE));


So it is very closed Sad



Previous Topic:(Announce) I created an example project to test capabilities of Graphiti.
Next Topic:How to Outline
Goto Forum:
  


Current Time: Mon Jul 28 10:35:14 EDT 2014

Powered by FUDForum. Page generated in 0.02485 seconds