[Eugenia] Changing Icons / Canvas [message #758326] |
Tue, 22 November 2011 18:22 |
Snakebyte Missing name Messages: 130 Registered: November 2011 |
Senior Member |
|
|
Hello, and sorry this time for the whole bunch of question from here.
But there is another thing, i can't find documented anywhere.
I want to change the small icons near an object. I want to change it in the canvas, und in the palette.
In the palette it works really great, when doing it like this.
@gmf.node(label="name", phantom="true",color="191,239,255",border.width="3",border.color="0,0,0",size="130,50",tool.small.path="icons/claim.gif",tool.large.path="icons/claim.gif",label.icon="true")
class Claim {
attr String name;
attr String description;
But this only changes the palette, not the small icon in a node in canvas.
Any suggestions ?
|
|
|
|
Re: [Eugenia] Changing Icons / Canvas [message #758371 is a reply to message #758341] |
Tue, 22 November 2011 21:52 |
Snakebyte Missing name Messages: 130 Registered: November 2011 |
Senior Member |
|
|
Works great. With a small exception.
.emf file
@namespace(uri="argumentmodel", prefix="argumentmodel")
@gmf(foo="bar")
package argumentmodel;
@gmf.diagram(onefile="false")
class ArgumentModel {
val Claim[*] claims;
}
@gmf.node(label="name")
class Claim {
attr String name;
attr String description;
@gmf.link(incoming="true")
val ArgumentStrategy[*] connectarg;
}
@gmf.node(label="name",phantom="true")
class ArgumentStrategy {
attr String description;
attr String name;
@gmf.link(incoming="true")
ref Claim [*] Claim;
}
When i now change the picture of ArgumentStrategy...always claim is changed too.
Seems like a bug ?
[Updated on: Tue, 22 November 2011 22:05] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04570 seconds