Book a Demo

Author Topic: How to show only our profile in tool box?  (Read 4511 times)

Thiyagaraj A

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
How to show only our profile in tool box?
« on: February 19, 2008, 08:21:10 pm »
Hi I have created a profile. I wanna to show only that profile in the toolbox when a user opens a particular file(.eap). I think it has to do with rep.activatePerspective(). Can any one worked on this?
« Last Edit: February 19, 2008, 08:22:26 pm by thiyagaraj_a »
Regards,
Thiyagaraj A.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to show only our profile in tool box?
« Reply #1 on: February 19, 2008, 11:26:57 pm »
Perspectives are an obsolete feature of EA.

Look up MDG Technologies in the SDK section of help. Make sure that you activate through the EA_OnInitializeTechnologies event.

Look up the Repository.ImportTechnology method and follow the note you find there.

For a simple profile creation of an MDG Technology won't be too difficult - less work than it seems from the documentation - and then you'll be on your way.

HTH, David
No, you can't have it!

brannstrom

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to show only our profile in tool box?
« Reply #2 on: April 16, 2008, 12:25:25 am »
Quote
Look up MDG Technologies in the SDK section of help. Make sure that you activate through the EA_OnInitializeTechnologies event.


How should the XML string you return in the EA_OnInitialize function look like?

/N

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to show only our profile in tool box?
« Reply #3 on: April 16, 2008, 12:57:19 am »
It is the output from creating an MDG Technology. Check the EA help contents - it's the final entry in the Extending EA section.
No, you can't have it!