Book a Demo

Author Topic: Profile Loaded Via Settings | MDG Not Accessible  (Read 3576 times)

wikitect

  • EA User
  • **
  • Posts: 117
  • Karma: +2/-0
    • View Profile
    • TRAK Community
Profile Loaded Via Settings | MDG Not Accessible
« on: July 01, 2009, 11:43:29 pm »
Under EA 7.5 the recommended way to load a MDG Technology is via Settings | MDG Technologies... rather than the older way via the Resources pane and right-clicking on MDG Technologies.

The new method I believe has a bug in that
a) the profile stereotypes are not visible in the Resources pane
b) the profile elements aren't accessible internally, for example when trying to stereotype something the MDG technology isn't available as a drop down (but it is for changing the appearance of the UML stereotype)
c) custom diagram profiles cannot be linked to the UML profile and therefore toolbox palettes cannot be automatically launched in response to selecting a new diagram type (BTW placing the customisation in the diagram metaclass is at best counter-intuitive and only allowing 1 profile name to link to seems to mean that only 1 palette per EA diagram type can be launched if it ever worked)


The only way to make the profile accessible to these EA features is to additionally load the UML profile itself (as well as the MDG Technology) in the Resources pane using a right mouse-click at which point it is accessible within EA.

This is at the very least inconsistent and, since it significantly changes behaviour wrt customising own profiles, should come with a warning about the consequences of the new method of loading MDG Technology.
======
Favourite epitaph: 'Under this sod lies another'

TRAK Framework https://sf.net/p/trak
MDG for TRAK https://sf.net/p/mdgfortrak

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Profile Loaded Via Settings | MDG Not Accessib
« Reply #1 on: July 02, 2009, 08:04:19 am »
a) You don't need the stereotypes in the resources pane as they are in the toolbox.  (Unless you've specified a toolbox yourself and only included some of them, which is a valid thing to do.)

b) Can't comment at the moment, you'll have to wait for someone else to look at this.

c) I'm not 100% sure what is going wrong here, but try qualifying your profile name with the technology name.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Profile Loaded Via Settings | MDG Not Accessib
« Reply #2 on: July 02, 2009, 02:28:35 pm »
Quote
b) the profile elements aren't accessible internally, for example when trying to stereotype something the MDG technology isn't available as a drop down (but it is for changing the appearance of the UML stereotype)
Can't quite visualise what you are having difficulties with. If you have a Class, say, which you want to stereotype, pulling down the Stereotype listbox will show all of the stereotypes from your technology that extend Class. Clicking the "..." button next to the listbox will give you the ability to filter the list by profile.

But the easiest way to apply a stereotype from profile to an existing element is to drag and drop from the toolbox onto the element.

Quote
custom diagram profiles cannot be linked to the UML profile and therefore toolbox palettes cannot be automatically launched in response to selecting a new diagram type
This works. If you can send your technology XML file to Sparx support, I will have a look and see where you are going wrong.

Quote
The only way to make the profile accessible to these EA features is to additionally load the UML profile itself (as well as the MDG Technology) in the Resources pane using a right mouse-click at which point it is accessible within EA.
No, don't do that, it won't work.
The Sparx Team
[email protected]