Book a Demo

Author Topic: Bulk change of connectors  (Read 4390 times)

robbierzzz

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Bulk change of connectors
« on: May 25, 2009, 09:12:13 pm »
Hello all,

I have an activity diagram with a hell lot of lines. From activities to Information Items I'm using dependencies with stereotype trace. However I want to change this to another type. And of course I would like to do this automatically, since all connectors involved should be changed.

Any suggestions?
Dance with the stars

Neocortex

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
  • "There is no I in Team America"
    • View Profile
Re: Bulk change of connectors
« Reply #1 on: May 26, 2009, 12:03:44 am »
Hi Rob,

The tool RefactorEA makes bulk changes to connector stereotypes on any diagram.

Here's a link to download the tool:

http://neocortex.net.au/Pages/Programming.aspx

Just click on the RefactorEA tag on that page.

Once downloaded it has to be installed.
The included install .exe will do the install without no problems...(but it's not a snazzy Microsoft style install ... and it expects to find a C: drive on your machine.)

Once it's installed you can select the operation you're after by right clicking on the project browser for any diagram, then selecting  RefactorEA, then Edit then Connector Stereotype Rename.

A dialog box appears, and you can enter the new stereotype.
All connectors on the diagram will be modified.

The is 'course-grained' connector functionality. If you want more fine-grained functionality, we will strive to accomodate you.

Best,
Neo

« Last Edit: May 26, 2009, 12:15:14 am by simon.leserve »

robbierzzz

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Bulk change of connectors
« Reply #2 on: May 26, 2009, 12:18:58 am »
Hi Neo,

Thx for the tip, however when I try to install the tool I immediately get an error which 'should be sent (or not) to Microsoft'. After that I do get the success message from the registry editor. But the option is unfortunately not appearing in EA.

Is there a way  to manual install the tool? :)
Dance with the stars

Neocortex

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
  • "There is no I in Team America"
    • View Profile
Re: Bulk change of connectors
« Reply #3 on: May 26, 2009, 12:34:26 am »
use the command:

regasm  /codebase RefactorEA.dll /tlb

from the directory with the dll ... using Visual Studio's SDK command line...

(but try and download again...I uploaded a couple of times...the first upload was faulty.)

Also close EA before installing.

(On Windows 7 I did a test download and install; I got some stupid Microsoft message too...but it worked.)

Best,
Neo
« Last Edit: May 26, 2009, 12:38:24 am by simon.leserve »

Neocortex

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
  • "There is no I in Team America"
    • View Profile
Re: Bulk change of connectors
« Reply #4 on: May 26, 2009, 01:19:51 am »
Hi Rob,

I there are any problems don't hesitate to let me know.
I'll do my best to help.

Best,

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Bulk change of connectors
« Reply #5 on: May 26, 2009, 03:43:01 am »
I double-click the Installer and get this error:

'The application failed to initialize properly (0xc0000135).'

I am running WinXP on Parallels Desktop on an iMac.  Any ideas please?

Thanks.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

Neocortex

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
  • &quot;There is no I in Team America&quot;
    • View Profile
Re: Bulk change of connectors
« Reply #6 on: May 26, 2009, 08:32:33 am »
Hi Rob,

The installer has a bug. This string

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm

was hardcoded. (It was silly to do that.)

Anyway the bug is fixed, but I can't upload to the website from work...so I'm going to see if your email can be found.

If your email is not available then email me at [email protected]

Thanks for persisting with me.

Best,
« Last Edit: May 26, 2009, 08:33:39 am by simon.leserve »

robbierzzz

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Bulk change of connectors
« Reply #7 on: May 26, 2009, 05:48:07 pm »
@ Mod = you could close this topic, since the answer has been given already and a discussion about the program provided by Neocortex is discussed in another topic :).
Dance with the stars