Skip to main content


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 13:30 Go to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
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 14:58 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
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 16:04 Go to previous message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
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: Fri Apr 19 23:28:05 GMT 2024

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

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

Back to the top