Book a Demo

Author Topic: How to Access UML Patterns from MDG Technology  (Read 3335 times)

Frank Crow

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
How to Access UML Patterns from MDG Technology
« on: April 10, 2013, 05:43:14 am »
I have created an MDG Technology that includes a UML Pattern that I've also created.   Unfortunately, I cannot figure out how to access that UML pattern unless I also load it into the Project Resources (alt+6) pane.

How do I access the UML pattern that is part of the MDG technology without also loading it in the project resources?

Thanks,
Frank

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to Access UML Patterns from MDG Technology
« Reply #1 on: April 10, 2013, 06:08:51 am »
I don't know the answer but remember it has been recently discussed here (good luck in searching for it).

At least I know that the MDG creation wizard has an option to include patterns as well. But maybe you can tell in what way you want to access the pattern. AFAIK it will only be presented in a toolbox.

q.

Frank Crow

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: How to Access UML Patterns from MDG Technology
« Reply #2 on: April 10, 2013, 06:52:11 am »
I can create a toolbox tool that creates the pattern??   Can you please tell me where to find the instructions?   That would be awesome.

Thanks,
Frank

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to Access UML Patterns from MDG Technology
« Reply #3 on: April 10, 2013, 10:12:12 am »
I wrote quite a long response, but YABB just ate it. In brief, in the online Help go to:

Extending UML Models > MDG Technology SDK > Defining a Modeling Language

and work from there.
Best Regards, Roy

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to Access UML Patterns from MDG Technology
« Reply #4 on: April 10, 2013, 10:35:29 am »
Quote
but YABB just ate it
Still not enough fighters to eat YABB?

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to Access UML Patterns from MDG Technology
« Reply #5 on: April 10, 2013, 01:48:30 pm »
In your toolbox profile you need an attribute named as "TechnologyName::PatternName(UMLPattern)" or "TechnologyName::PatternName(UMLPatternSilent)" depending on whether you want the dialog to show or not.
« Last Edit: April 10, 2013, 01:48:59 pm by KP »
The Sparx Team
[email protected]

Frank Crow

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: How to Access UML Patterns from MDG Technology
« Reply #6 on: April 10, 2013, 10:04:19 pm »
Thanks for all the help guys.   I got that working... that is a great feature BTW.   Some other guys at the shop loved the patterns... wait till I tell 'em about the toolbox thing.  8-)

Thanks,
Frank