List Info

Thread: Adding a figure/edge




Adding a figure/edge
user name
2007-04-16 13:45:36
I'm trying to write a plugin to add a new type of Figure/Node and Edge to the class diagram.  I'm able to change the appearence of a current node type using the ClassDiagramRenderer class.  I9;m having trouble modifying the UMClassDiagram class, as per the cookbook.  It looks like I need to add a new class to represent the new figure I want to add. All of the model classes I'm finding for this are auto-generated abstract classes, like org.omg.uml.foundation.core.UmlClass;  What class should I try to inherit/implement?

Scott Denson
Scott.Densongmail.com">Scott.Densongmail.com

Re: Adding a figure/edge
user name
2007-04-16 14:46:15
Hi,

I did a project trying to add SDM diagrams to argoUML for school last year. I know how frustrating adding things to argoUML can be.
I don't know the answer to your questing by heart but I'll look into it tomorrow morning. If I'm not
mistaken, we found a solution.
If you want me to, I could send you our plugin code. It's not very good but it might give you a better
understanding what a good project should look like ;)

Greets,
Sam

On 4/16/07, Scott Denson < scott.densongmail.com">scott.densongmail.com> wrote:
I'm trying to write a plugin to add a new type of Figure/Node and Edge to the class diagram.&nbsp; I'm able to change the appearence of a current node type using the ClassDiagramRenderer class.  I9;m having trouble modifying the UMClassDiagram class, as per the cookbook.  It looks like I need to add a new class to represent the new figure I want to add. All of the model classes I'm finding for this are auto-generated abstract classes, like org.omg.uml.foundation.core.UmlClass;  What class should I try to inherit/implement?

Scott Denson
Scott.Densongmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Scott.Densongmail.com


Re: Adding a figure/edge
user name
2007-04-16 17:15:22
The code should be a big help. My specific project is adding aspects and pointcuts to the class diagram along with generating the corresponding code.  

Thanks,
Scott

On 4/16/07, Sam < burlyslayergmail.com">burlyslayergmail.com> wrote:
Hi,

I did a project trying to add SDM diagrams to argoUML for school last year. I know how frustrating adding things to argoUML can be.
I don't know the answer to your questing by heart but I'll look into it tomorrow morning. If I'm not
mistaken, we found a solution.
If you want me to, I could send you our plugin code. It's not very good but it might give you a better
understanding what a good project should look like ;)

Greets,
Sam


On 4/16/07, Scott Denson < scott.densongmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> scott.densongmail.com> wrote:
I'm trying to write a plugin to add a new type of Figure/Node and Edge to the class diagram.&nbsp; I'm able to change the appearence of a current node type using the ClassDiagramRenderer class.  I9;m having trouble modifying the UMClassDiagram class, as per the cookbook.  It looks like I need to add a new class to represent the new figure I want to add. All of the model classes I'm finding for this are auto-generated abstract classes, like org.omg.uml.foundation.core.UmlClass;  What class should I try to inherit/implement?

Scott Denson
Scott.Densongmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Scott.Densongmail.com



[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )