List Info

Thread: RE: Adding a figure/edge




RE: Adding a figure/edge
user name
2007-04-17 10:21:33

Hello Sam!

 

Could you review the Cookbook chapter 6 to see if it could be improved with this gained experience of yours?

 

           ; /Linus

 


From: Sam [mailto:burlyslayergmail.com]
Sent: den 16 april 2007 21:46
To: modules-devargouml.tigris.org
Subject: Re: [argouml-modules-dev] Adding a figure/edge

 

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.  I'm able to change the appearence of a current node type using the ClassDiagramRenderer class.  I'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">Scott.Densongmail.com

 

Re: Adding a figure/edge
user name
2007-05-01 23:31:20
Trying to follow the cookbook leads me to the point where the mdoel always rejects my FigNodeModel Element.   [argouml] Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Attempted to
create unsupported model element type: org.argouml.uml.diagram.static_structure.ui.FigAspect . &nbsp;Should&nbsp;I be attempting&nbsp;to modify the UML specs to&nbsp;include my&nbsp;new ;diagram&nbsp;elements?


On 4/17/07, Linus Tolke < linus.tolkeenea.com">linus.tolkeenea.com&gt; wrote:

Hello Sam!

 

Could you review the Cookbook chapter 6 to see if it could be improved with this gained experience of yours?

 

 &nbsp; &nbsp;   ; &nbsp; &nbsp; /Linus

 


From: Sam [mailto: burlyslayergmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> burlyslayergmail.com]
Sent: den 16 april 2007 21:46
To: modules-devargouml.tigris.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> modules-devargouml.tigris.org
Subject: Re: [argouml-modules-dev] Adding a figure/edge

 

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-2]

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