Book a Demo

Author Topic: Package Icon  (Read 4143 times)

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Package Icon
« on: April 07, 2011, 07:15:25 pm »
HI All

I am developing an Add-In which integrates EA with another Tool. I have noticed in the add-ins for DOORS integratation and Visual Studio Integration that when a package is connected to a DOORS server or a Visual Studio Project, then the package icon in the project browser has an addition indcator (or the icon changes)

I need a similar functionality. Changing the Icon for a view is easy, (package flags VICON) but how is it achieved for a package?

I have looked at the underlying database structure, and user guide but no clues?

Any help would be most appreciated

Cheers

Phil

Models are great!
Correct models are even greater!

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Package Icon
« Reply #1 on: April 08, 2011, 10:07:56 am »
From memory - I think the icon comes from the MDG_GetProperty event and applies to packages that are indicated as being connected with this MDG add-in.

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Package Icon
« Reply #2 on: April 08, 2011, 06:20:26 pm »
Thanks Aaron, I can confirm this as a few hours after the post I discovered this little Gem in the EA user guide under MDG Add-Ins

Didn't think to look their before the post.  ;)

Cheers

Phil
Models are great!
Correct models are even greater!