Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Clarification needed re. icon paths
Clarification needed re. icon paths [message #565801] Tue, 24 February 2009 13:17
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Hi, I was experimenting with the new tool options
"tool.(large|small).path" that you added recently, but didn't succeed,
yet, to get them to working.

How and relative to what directory does one need to specify the path?

My image files sit in <project-root>/images/<nodename>.jpg, so I first
tried with relative paths "images/Artifact.jpg" (relative to the
project's root), "../images.Artifact.jpg" (relative to the .class file
root "bin"), then with full paths "C:/Documents and
Settings/mmo/eclipse/workspace/leonardo2/images/Artifact.jpg ", but
neither yielded any icons in the resulting graphical editor?
I also had tried with backward slashes, but while single backslashes of
course yielded Java compilation errors (due to wrong escape sequences),
double backslashes didn't yield anything better, either.

Any idea, how to specify these paths? Are these supposed to be URLs?
I.e. does one need to specify "file://.." ?

BTW: The tools...path-option only influences the tools-icon. I guess,
the next wish, to also be able to specify the node's label icon, too.
I.e. not just label.icon="true", but label.icon="<iconfile-path>"

Cheers,
Michael
Previous Topic:[Eugenia] Including certain GMF options?
Next Topic:Clarification needed re. icon paths
Goto Forum:
  


Current Time: Tue Dec 23 01:48:00 GMT 2014

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

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