Copy Paste in Model Diagram
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Copy Paste in Model Diagram Expand / Collapse
Author
Message
Posted 2010-03-26 01:41:04
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 2012-01-27 22:15:27
Posts: 61, Visits: 854
In version 5.0.0.4754 the feature to copy and paste within a model diagram was introduced. I have tried using this today for the first time and find that, although I can make a copy of a class and alter it as required, when I try to rename the copy the original class is also renamed. Unless I am missing something (which is quite possible) this makes the copy and paste unusable for classes.

Regards,

David
Post #5049
Posted 2010-03-26 08:26:37
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 17:12:46
Posts: 417, Visits: 2 529
Copy and paste in Diagrams copies the PlacedClass. A class can have many PlacedClasses, and each PlacedClass points out 1 Class.

When you copy and paste in the diagram you get another PlacedClass with a reference to the same class.

This is by design and quite useful when re-engineering diagrams.

Copy & paste for the class itself was supposed to happen when you copy and paste in the modlr-tree. I ran into a small snag since I could not find a way to catch the keystrokes from within VS - This is of course a solvable and your post reminds me that this is still unsolved... Will look into it.
Post #5051
Posted 2010-03-27 09:07:06
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 17:12:46
Posts: 417, Visits: 2 529
Checked in extended copy/paste support.

Copy/paste in Modlr tree now does classes, attributes, methods, diagrams, ProcessDefinitions, ProcessSteps, ViewModels.

Tested in ECO/Modlr and Gaffr.net in VS2010 (should be the same in VS2008)

Post #5054
Posted 2010-03-29 01:05:14
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 2012-01-27 22:15:27
Posts: 61, Visits: 854
Hi Hans,

Thanks for addressing this issue.

Regards,

David
Post #5060
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom, PeterMorris

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 4:28

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0,141. 9 queries. Compression Disabled.