[Eugenia] Custom Icons for Tools [message #772748] |
Fri, 30 December 2011 08:39  |
Eclipse User |
|
|
|
Hi again,
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:
@gmf.node(figure="figures.MailFigure",
label.icon="false", label.placement="none",
tool.name="EMail versenden",
tool.small.bundle="erc.eugenia", tool.small.path="icons/Mail16.png",
tool.large.bundle="erc.eugenia", tool.large.path="icons/Mail32.png")
class MailAction extends Action{
}
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
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07099 seconds