Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Eugenia] Custom Icons for Tools
[Eugenia] Custom Icons for Tools [message #772748] Fri, 30 December 2011 08:39 Go to previous message
Missing name Missing name is currently offline Missing name Missing name
Messages: 15
Registered: December 2011
Junior Member
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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic:[Eugenia] Can't draw link in generated editor.
Next Topic:EGL 101
Goto Forum:
  


Current Time: Sat May 18 12:11:24 EDT 2013

Powered by FUDForum. Page generated in 0.08009 seconds