Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[Eugenia] Custom Icons for Tools
https://www.eclipse.org/forums/index.php/mv/msg/271679/772748/#msg_772748
first, i want to ask a simple question for better understanding.
In the Eugenia GMF Tutorial (http://eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf-tutorial/) there is a Metamodel and a Screenshot from the generated Editor.
But: i don't think that one get the editor shown using the given metamodel because it has custom icons for the tools. This isn't described in the Metamodel. Am i right?
What i am trying to do is right that. I have nodes with user defined images and set the icons for the tools. Here is one example:
The images for the nodes are in another Project holding all the xyFigure.java-Code (like the Friends-Example)
The Images for the Tools are in an icons folder beside my model.
The generated editor looks fine. I can see the nodes as images and the custom icons in the palette. But i can't see them in the toolbar. Why? Do i manually have to copy them to the generated .diagram-Project?
Thanks in Advance.
Cheers,
Wolly
]]>Missing name Missing name2011-12-30T13:39:39-00:00Re: [Eugenia] Custom Icons for Tools
https://www.eclipse.org/forums/index.php/mv/msg/271679/774604/#msg_774604
You'll need to replace the auto-generated icons under xyz.edit/icons/full/obj16 with your custom icons.
Cheers,
Dimitris]]>Dimitris Kolovos2012-01-04T09:18:47-00:00Re: [Eugenia] Custom Icons for Tools
https://www.eclipse.org/forums/index.php/mv/msg/271679/774617/#msg_774617
thanks for reply.
Well, i suppose, i have to do so each time i generate from scratch?!
So it's one thing more which i wish to be automated.
What i did:
Copy my custom icons to the told folder in a resolution of 16x16 and rename it accordingly.
And it worked! But the File-Extension has to be .gif (and it doesn't matters if it's in fact a png). I've had png as File-Extension in the first try and saw nothing.
My fault was that i thought my custom icons would be copied "by magic" into the right folder in the xxx.edit-Project
Cheers,
Wolly
]]>Missing name Missing name2012-01-04T09:41:48-00:00Re: [Eugenia] Custom Icons for Tools
https://www.eclipse.org/forums/index.php/mv/msg/271679/774625/#msg_774625
If you regenerate the icons won't be replaced so I don't think that should be a problem.