Author Topic: Access to Consistent Classes + Own Profile  (Read 2948 times)

wikitect

  • EA User
  • **
  • Posts: 117
  • Karma: +2/-0
    • View Profile
    • TRAK Community
Access to Consistent Classes + Own Profile
« on: June 27, 2009, 12:47:53 am »
Currently EA is slightly inconsistent wrt the classes presented when extending in order to make a profile:-

1) One set of UML classes for metaclasses to create the UML profile
2) A different mechanism in Toolbox Profiles that allows reference to be made to classes within own profile (good) albeit not linked to the stereotype definitions themselves (not good)
3) A different set of UML classes for use by Quick Link (not good)

The net result is different behaviour/attributes/tagged values exposed depending on how the object is created/where it is obtained from.

For example, if I drag an object from the palette I get one of the classes defined in my profile. It therefore has the attributes etc that I've defined. If, however, it is created by Quick Link then because Quick Link cannot access my profile it creates an object of a more general UML type which although it might look the same from a stereotype perspective it doesn't have the same relationships or attributes.

It looks therefore as though I have a choice of constraining relationship choice using Quick Link but accepting that the relationship created is not (quite) the type needed or picking the correct relationship object type but risking connection to the wrong types of object.

Could very much do with consistency and also the ability to access own profile having loaded it as a MDG Technology in the new way recommended (Settings | MDG Technologies) rather than the older way via the Resources pane.

I believe the different EA functionality exposed by these 2 methods of loading a MDG Technology might amount to a bug. At the very least this isn't recognised in the documentation wrt limitations.

Having a consistent interface to one's own profile would improve consistency of modelling and the resulting UI a lot. It would probably also cut down on calls made to support ;)

It would also be nice to be able to base a profile on something other than UML e.g. SysML.
======
Favourite epitaph: 'Under this sod lies another'

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

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Access to Consistent Classes + Own Profile
« Reply #1 on: July 02, 2009, 08:46:45 am »
Quote
If, however, it is created by Quick Link then because Quick Link cannot access my profile it creates an object of a more general UML type which although it might look the same from a stereotype perspective it doesn't have the same relationships or attributes.
This should be working, e.g. the quicklinker can tell the difference between a BPMN 1.0 and BPMN 1.1 activity and will create target elements from the appropriate technology. If it doesn't work for you then it needs investigating.
The Sparx Team
[email protected]

wikitect

  • EA User
  • **
  • Posts: 117
  • Karma: +2/-0
    • View Profile
    • TRAK Community
Re: Access to Consistent Classes + Own Profile
« Reply #2 on: July 22, 2009, 12:57:27 am »
But it can't for my profile - TRAK

i.e. I can't link a QuickLink definition to stereotype within my profile .... WHEN LOADED via the Settings | MDG Technologies method.

A straight UML profile loaded in the Resources pane via Import UML Profile is accessible.

The 2 methods of loading seem to have different behaviour.

I have posted this as an observation / potential bug but haven't received any confirmation that this is the case.
======
Favourite epitaph: 'Under this sod lies another'

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