Book a Demo

Author Topic: Add-In to "Add UML Pattern to Diagram"  (Read 3930 times)

André Olivera

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Add-In to "Add UML Pattern to Diagram"
« on: February 23, 2011, 09:52:07 am »
Hello,

Is it possible to automate the addition of a UML Pattern in a diagram?

I searched for the patterns in the Repository but I didn't found anything..

« Last Edit: February 25, 2011, 03:28:56 am by andrebrujah »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add-In to "Add UML Pattern to Diagram"
« Reply #1 on: February 23, 2011, 06:55:09 pm »
I haven't found anything either, but I would be interested to know too.

Geert

André Olivera

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Add-In to "Add UML Pattern to Diagram"
« Reply #2 on: February 24, 2011, 01:43:14 am »
I think that is possible to import the pattern XML file by the

Project.ImportPackageXMI ()

I think with that I can access the pattern by the Repository Object.

I haven't tried yet.

André Olivera

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Add-In to "Add UML Pattern to Diagram" (
« Reply #3 on: February 25, 2011, 03:24:19 am »
I could not import a pattern (created by me) by the function "Project.ImportPackageXMI()" because a pattern don't have a package..

Somebody know where is the xml files of the built-in patterns? (Like "Chain of Responsability" or "Interpreter")


I think that my solution is create an package, export this and then import with that function.