Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to set icons for create features to the palett?
How to set icons for create features to the palett? [message #685879] Mon, 20 June 2011 13:54 Go to next message
Phillipp  is currently offline Phillipp Friend
Messages: 24
Registered: May 2011
Junior Member
Hi folks it's me again,

I have another little problem. I would like to add some pictures to the palette but I just can not find where to specify. The tutorial just explains how to add icons to the context-menu but in the section about the palette you can see some screenshots where icons for the create-features are added.

It would be nice if you could point me in the right direction once again.
Re: How to set icons for create features to the palett? [message #685887 is a reply to message #685879] Mon, 20 June 2011 14:12 Go to previous messageGo to next message
Jos Warmer is currently offline Jos WarmerFriend
Messages: 114
Registered: October 2010
Senior Member
Philipp,

You should override the method createImageId() in the CreateFeature that you use in the palette.

Jos
Re: How to set icons for create features to the palett? [message #685888 is a reply to message #685887] Mon, 20 June 2011 14:15 Go to previous message
Phillipp  is currently offline Phillipp Friend
Messages: 24
Registered: May 2011
Junior Member
Thank you for the super fast answer, Jos!

Previous Topic:BoxRelativeAnchor vs FixPointAnchor
Next Topic:F2 Edit on Pictogram Element
Goto Forum:
  


Current Time: Sat Dec 05 00:59:43 GMT 2020

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

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

Back to the top