Book a Demo

Author Topic: Create Model Pattern  (Read 2719 times)

jdavid

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Create Model Pattern
« on: March 31, 2006, 08:34:42 am »
I have a a package that contains a couple of sub package models:

System Model
    System Name
        Requirements Model
        Use Case Model
        User Interface Model
        Analysis Model
        Design Model

I want to be able to reuse everything from System Name Down so that I end up with a structure as follows:

System Model
    System Name 1
        Requirements Model
        Use Case Model
        User Interface Model
        Analysis Model
        Design Model
    System Name 2
        Requirements Model
        Use Case Model
        User Interface Model
        Analysis Model
        Design Model
    System Name 3
        Requirements Model
        Use Case Model
        User Interface Model
        Analysis Model
        Design Model

etc, etc as new system modules are created. So the question is can I save this as my own model pattern??

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: Create Model Pattern
« Reply #1 on: March 31, 2006, 07:03:55 pm »
Hello,

Please try following steps:

1. make your own pattern
2. export the pattern as XMI
3. copy the XMI file to ModelPatterns directory under EA installed directory
4. open models.xml file in the ModelPatterns directory
5. I think you can easily find the rule of the file, you can add your original pattern by adding some XML tree.
6. restart EA

Hope this helps,

--
t-kouno
--
t-kouno