Book a Demo

Author Topic: Model search and replace  (Read 3900 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Model search and replace
« on: April 24, 2009, 04:09:32 am »
Hey there!


I'd like a UML element search-and-replace feature. This would trawl through the model and replace all uses of one element with another.

A useful option would be the ability to specify the behaviour in case a particular replacement halfway through the process is found to be non-UML-compliant. Three radio buttons:
- Abort (and revert)
- Ignore (silently)
- Report (upon completion)

Another useful option would be the ability to specify behaviour wrt affected diagrams. Two checkboxes:
- Leave open (leaves each affected diagram open after completion)
- Auto-layout (performs auto-layout on each affected diagram)


/Uffe
My theories are always correct, just apply them to the right reality.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Model search and replace
« Reply #1 on: April 24, 2009, 05:34:21 pm »
You have my vote.
I'm currently writing an add-on to do exactly this for a number of classes.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Model search and replace
« Reply #2 on: April 30, 2009, 07:07:42 pm »
Got my vote.

I presume "Non-UML compliance" would itself be a check box for us who do "funny" stuff...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!