Hello
I still not very familiar with the source code, i can't really understand your
solution.
here's the procedure that I follow to create the new button
1)I add the new button declaration in button.properties
2)I set the icon for my button
3)in UMLUseCaseDiagram.java I add the declaration of the Action:
private Action actionActorT;
4)finally i implement the getActionActorT() method
////////////////////////////////////////////
protected Action getActionActorT() {
if (actionActorT == null) {
actionActorT = new RadioAction(new CmdCreateNode(
Model.getMetaTypes().getActor(), "button.new-actorT"));
}
return actionActorT;
}
////////////////////////////////////////////
the result: the new button appers in the toolbar but when i click on it, the
same actor appears
the question is ,how to separate between the figure of the normal actor and the
new actor
thank you
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1357378
To unsubscribe from this discussion, e-mail:
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email:
[[email protected]]