Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Martin Merkel

Pages: 1 [2] 3 4 5
16
General Board / Re: Stereotype, tagged values, and Integer types
« on: May 22, 2018, 10:11:57 pm »
Hi,
I played around a bit more with profiles now. What I like to achieve is something like below:



I use a CallBehavior action with two parameters. To set the parameters I use ValueSpecification actions from the profile that I have defined. As discussed above, this works fine for enumerated types, such as NMT command in the diagram below. For the integer parameter this is not the case:



If I export the profile package the XML code I get is the following, just taking the Node-ID part for simplicity:

<Stereotype name="Node-ID" notes="" cx="320" cy="80" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
    <AppliesTo>
        <Apply type="Action">
            <Property name="context" value=""/>
            <Property name="effect" value=""/>
            <Property name="kind" value="ValueSpecification"/>
        </Apply>
    </AppliesTo>
    <TaggedValues>
        <Tag name="addr" type="int" description="" unit="" values="" default=""/>
    </TaggedValues>
</Stereotype>


If I load the profile and then use it to specify the addr parameter of the CallBehavior action, the thing that puzzles me is that I can set the tagged value addr to a character value, such as below, despite the attribute being declared as int in the profile. I also used Integer as attribute type in the profile instead of int but the result is identical.





If I use the UML Types/Tagged Value Types dialog (the Description field is oddly limited to 50 characters) I however can define what I desire, but even if I explicitly add the created tagged value to the Node-ID stereotype via the Tagged Values window, this is not exported into the profile. The tagged value type correctly however restricts me to entering integers between 0 and 127 and also rejects character values.





To me this appears to be inconsistent handling of tagged values.


Apart from that I had frequently problems with diagram layout after updating profiles in EA 14.0.1420  :(


17
General Board / Re: Stereotype, tagged values, and Integer types
« on: April 19, 2018, 02:00:53 am »
Hi Phil,
had tried this, and to some extend it worked (when adding it as an UML tagged value type). I had problems though to use that as part of an UML profile.
Thanks, Martin

18
General Board / Stereotype, tagged values, and Integer types
« on: April 18, 2018, 11:45:48 pm »
Hi,
in the help on Add an Enumeration to a Stereotype there is a description on how to define an enumerated tagged value, and later use this in an UML profile. Is there as similar possibility to restrict a stereotype attribute to a certain Integer value range, for example from 0 to 127?
Thanks, Martin

19
Hello Uffe,
thanks for the feedback. I will look into your proposal and see if I can use this approach.
/Martin

20
Hi all,
I am currently defining a profile for a communication profile. In this profile I have a stereotype Data object that extends a class. The stereotype has tags such as Object code and Data type, which are enumerations. To be precise Data type is the super set of the entries in the Simple data type and Complex data type enumerations (can I model this using a composition to whole?).
Is there any way to put conditional relations on those tags, such for example if Object code is set to Variable or Array, Data type may be of type Simple data type only and if Object code is set to Record, Data type may be of type Complex data type only.

21
Suggestions and Requests / Re: 8.0 diagram enhancements
« on: February 15, 2011, 03:30:31 am »
Allow orthogonal regions in state machine diagrams to be separated alternatively horizontal or vertical.

22
Suggestions and Requests / State machine internal transitions
« on: March 13, 2012, 05:45:12 pm »
I recently upgraded to EA 9.3 and again was a bit disappointed that state machines still do not support modelling of internal transitions. Am I the only one out there that would need this functionality or what do others think here?

23
Given that I inquired for an update back in June, it would really be interesting to get an update by Sparx Systems if, and approximately when we can expect an update of the Visual Studio integration. The more that they have introduced the Systems Edition and for the upgrade to this prior purchases of the Visual Studio Integration were not taken into account.
To some extend I got the feeling for being charged for certain functionality twice and not getting much for it.

24
General Board / Re: Links between project
« on: October 24, 2014, 07:17:51 pm »
With projects, I'm currently just working on a number of independent .eap files that I use to collect ideas. One would collect the concepts for an integrated tool chain development, and other files that I would like to model the individual components of the tool chain. From a min map in the global tool chain project I would have liked to open the separate components projects. Nothing is in version control yet.
But from your feedback, I guess I will use notes in the mind map to refer to the other projects.
Thanks, Martin

25
General Board / Links between project
« on: October 24, 2014, 06:56:57 pm »
Hello, is it possible to create a link from one element in a project to another project? Couldn't find anything in the help nor in the Project Management with UML and Enterprise Architect training documents.
Thanks, Martin

26
General Board / Re: «decisionInput»
« on: July 04, 2014, 08:32:39 pm »
Thanks, that did it.
Martin

27
General Board / «decisionInput»
« on: July 04, 2014, 07:13:28 pm »
We are currently working with activity diagrams and looking for the decision input notational element that we found in the UML superstructure specification section 12.3.22 and also in literature. In EA I have only the note element, but I cannot find a way to the «decisionInput» keyword to a note. Is there any way around this?

Thanks

28
General Board / Attributes and Enumerations
« on: May 28, 2013, 12:49:46 am »
Hi,
in a class I have an attribute a, that in C source code I would like to show up as an uint8_t. I also have an enumeration E of specific values that this attribute can assume.
In my attribute definition I can now specify the type as either uint8_t, or E (the enumeration), but not both. I also would like to set the initial value of the attribute to one of the enumeration values, and limit the attribute values to just one of those enumeration values.
Also when I assign the type to my enumeration type a :E, I can nevertheless enter any value in the Initial Value field, and not, as I had hoped for, just one of the enumeration values. Any way to fix this?

Thanks,  Martin


29
General Board / Re: Model Validation menu item
« on: May 24, 2013, 01:07:27 am »
Ok, thanks, have found it. Set in the Workspace and Commands dialog the Commands to Full.

30
General Board / Model Validation menu item
« on: May 23, 2013, 11:19:29 pm »
Hi, this has probably been asked before, but I cannot find anything in the forum. In EA9 there was a Project|Model Validation menu item which seems to have disappeared from the default menu system in EA10. The online help however still talks about this menu item. Any hint where I can find it back?
Thanks

Pages: 1 [2] 3 4 5