- This topic has 13 replies, 6 voices, and was last updated 19 years, 8 months ago by
Mufasa.
-
AuthorPosts
-
Craig PetersMemberSorry if these are already known, or if I’m doing something wrong, but I couldn’t find references to them in the Help or Forums:
1) Somehow I’ve gotten a class in my UML Class Diagram called “new Class” that I cannot edit or delete. When I hover over it, the tip window has this class name: org.argouml.uml.diagram.static_structure.ui.FigClass@16fa677
How do I get rid of this?
2) I can’t seem to create a new AssociationClass within the Class Diagram. The button on the toolbar is enabled, and I get a crosshair when I select it, but I create it in the diagram. No error or anything is displayed.
Thanks,
-CraigJune 11, 2005 at 4:37 pm #230904
Riyad KallaMemberCraig,
Can you mail the UMR file as an attachment to support@genuitec.com ATTN Riyad with a link to this post in the forums and I’ll take a look at it and kick it over to the UML devs with a description of what’s going on?June 13, 2005 at 10:49 am #230956
Craig PetersMemberI’ve emailed you the requested file — thanks for looking at this!
I’m also having problems getting some changes being saved in the model. For example, when I insert or change an Attribute, sometimes the changes are saved, and sometimes not.
Also, often a file by the name of “Generic Model.umr~” is left behind after I save and exit — is this normal?
June 13, 2005 at 11:27 am #230965
Riyad KallaMemberWe received the file and are taking a look at it, thanks.
June 13, 2005 at 12:38 pm #230977
Kapil KapreMemberCraig ,
Thanks for bringing the issues to our notice. I saw the class you mentioned. We will be looking into that issue. To get rid of it have you tried right clicking and using the Remove from Diagram / Delet e from Model options? You can also use the explorer view.An association class is an association modelled as a class. When you get the crosshair (After clicking on the button) try connecting two classes, to create an association class. (Click on a class and drag the crosshair onto another class and release the mouse.)
June 13, 2005 at 1:47 pm #230981
Craig PetersMemberKapil — there is no right click menu displayed on this class. Further, on the properties panel the only tab available is the “Presentation” tab. “Properties”, “Documentation”, “Source” etc. are greyed out.
June 13, 2005 at 2:15 pm #230984
Craig PetersMemberKapil — I see how to use the Association Class now. It works as you said. Thanks.
June 15, 2005 at 10:11 am #231100
Michael FlanakinMemberI’ve had the same problems with the new class showing up. I’ve also had a new package show up. And, as Craig mentioned, there’s no context menu for the item and when you hit Delete, nothing happens. Actually, if you hit Delete, focus will go to the parent element, which I believe is the diagram, so be careful. I’ve accidentally deleted entire diagrams several times because of this.
November 12, 2005 at 2:55 pm #241348
snuser2Memberi have following, when i am making an association class:
– i can make an association class in a diagramm
– when i open a new diagram, where i want to use classes from other diagrams i cant use (dragn’drop) the association class,
because theres is no item i can take from the explorer structure.(or perhaps dont i understand UML)
November 14, 2005 at 3:49 pm #241461
Kapil KapreMemberDo you mean there are no classes in the outline view under the old diagram? Please make sure you’re not using the State / Transition / Residence Centric options in the outline view as the classes wont show up in those modes.
November 17, 2005 at 11:44 am #241713
MufasaMember@flanakin wrote:
I’ve had the same problems with the new class showing up. I’ve also had a new package show up. And, as Craig mentioned, there’s no context menu for the item and when you hit Delete, nothing happens. Actually, if you hit Delete, focus will go to the parent element, which I believe is the diagram, so be careful. I’ve accidentally deleted entire diagrams several times because of this.
I have problems where associationClasses will not draw the new class. You can attach it to two classes (via drag’n’dropping the line) and it shows a line with a circle in the middle of it. However, no association class shows up in the diagram. When I try to delete the association, the line disappears, but the item stays in the Outline view (in Class-centric). If I select that one, right-click, delete, it pops up again saying “do you want to delete” and upon Yes, it just goes back to still being in the Outline view and nowhere else. If I close and re-open the .umr file, it goes away from the Outline view. However, adding a new assocationClass just does the same thing again. If I create a new diagram, in the same .umr file, everything seems to work.
If I create a new diagram, then drag’n’drop the classes (only the classes via selecting them in the Outline and draggin them to the new diagram workspace/view) over to the new diagram, all of those assocations suddenly appear.
So, I can get around this be re-creating everything in the new diagram, but it appears to be a bug somewhere that should probably be looked into. Where do I send the .umr file if you guys want to check it out?
November 17, 2005 at 12:12 pm #241716
MufasaMemberFollow up to my last message: I think this happens (the association class feature breaking) as soon as you add any “drawing” items (line, circles, etc.) to the diagram.
November 17, 2005 at 12:34 pm #241723
Kapil KapreMemberMufasa,
We’ve done some work on Association classes since 4.0GA. I would suggest you to update to 4.0.3 to avoid facing already fixed issues. If you are already on 0.3, could you please give us some steps so taht we can reproduce the issue at our end.
Thanks.November 17, 2005 at 7:37 pm #241754
MufasaMemberI am using .03. As far as I can tell it is just make a class diagram in the normal method. Everything works fine until I add a drawing item (line, box, etc.). Then the associations start messing up like above. For now, I’ll just not put any drawings on until I’m finished with the classes.
-
AuthorPosts