|Clarification needed re. icon paths [message #565801]
||Tue, 24 February 2009 13:17
| Michael Moser
Registered: July 2009
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>"
Powered by FUDForum
. Page generated in 0.02239 seconds