Book a Demo

Author Topic: Modelling with 3rd party SDK's  (Read 5667 times)

fergie

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Modelling with 3rd party SDK's
« on: May 11, 2006, 09:45:49 am »
I'm in the process of evaluating EA for our company and am fairly new with UML modeling.  So far I've liked what I've seen and think it can be very usefull for us.

One question that has cropped up and I haven't been able to find any info on it is in incorporating a 3rd party SDK into the model.   Specifically, is there a way for me to build the model so that my Interface references the XYZCompany's Interface and not my own.  When I generate my code I would get something like this:

(vb.Net)

Imports XYZCompany.Tools

Public Class Widget

Implements XYZCompany.Tool.ICommand

      Blah, Blah, Blah....


It could say Implements ICommand  but the key is to not have it say MyModel.ICommand.




«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Modelling with 3rd party SDK's
« Reply #1 on: May 11, 2006, 01:56:36 pm »
Hey Fergie,

Don't see why not. Do you want EA to have all the classes etc. from the 3rd assembly available? If so you will want to import the assembly into your project someplace. [Remember that this only works for .Net and Java (check the limitations for the latter).]

If you are thinking of something else, please let us know more of the details. Somebody here must have tried this.

David
« Last Edit: May 11, 2006, 01:56:55 pm by Midnight »
No, you can't have it!

fergie

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Modelling with 3rd party SDK's
« Reply #2 on: May 11, 2006, 02:17:11 pm »
Thanks for the  reply.  Since I wrote the question I kept working on it and figured out how to mimic the packeage structure (a second root) to have thewhat I need to have the Import statement come out right.

I was busy mimicking the Interfaces of a couple of the more common ones I use when your reply gave me the key I needed.  I found their .Net Assembly's and Imported one in.  Although Importing all their stuff end may be overkill, it sure beats typing it all in.  Cool. Such power.

Thank you very much!   ;D