Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Icons in diagram editor
Icons in diagram editor [message #486393] Thu, 17 September 2009 13:31 Go to next message
Eclipse UserFriend
Originally posted by: eknews.web.de

Hi,

I want to change the icons in my diagram editor. As advised in the
tutorial, I changed the default icon in the tool definition. This did
only change the icon in the palette.

It did not change the icons in the properties view, at the labels, and
in the popup menu. I made a screenshot, green circle shows the changed
icon, red circles shows the wrong (old) icons.
Reading the posts in this newsgroup advised this as correct behaviour.
I uploaded the screenshot to
http://axbench.isst.fraunhofer.de/editor.jpg
for I did not know, if binaries are allowed in here.

Now my questions:
1. is this still the correct behaviour of the gmf generator?
2. can I change the other icons via a mapping or do I have to change the
generated code?
3. How do I change the default file extension from "gif" to "png"?
4. How do I change the default directory for icons?

Thanks, regards,

Ekkart.
Re: Icons in diagram editor [message #486465 is a reply to message #486393] Thu, 17 September 2009 18:27 Go to previous messageGo to next message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello Ekkart,

Try changind icon files in emf.edit plugin generated by EMF (just replace
existing files with your icons).
In the same plugin you can change ???ItemProvider and modify .gif -> .png
icons.

-----------------
Alex Shatalin
Re: Icons in diagram editor [message #486557 is a reply to message #486465] Fri, 18 September 2009 08:21 Go to previous message
Eclipse UserFriend
Originally posted by: eknews.web.de

Alex Shatalin wrote:

> Try changind icon files in emf.edit plugin generated by EMF (just
> replace existing files with your icons).
> In the same plugin you can change ???ItemProvider and modify .gif ->
> .png icons.

OK, I will try that. Thanks for the answer,

Ekkart.
Previous Topic:multiple org.eclipse.emf.edit.itemProviderAdapterFactories extension points
Next Topic:Delete all domain elements and diagram elements
Goto Forum:
  


Current Time: Thu Mar 28 08:34:23 GMT 2024

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

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

Back to the top