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 - Michael Hafner

Pages: [1] 2 3
1
Dear all,

it doesn't seem so, but: Is it possible to enable the "info view" of a diagram object via script?

Thank-you
Michael

2
Suggestions and Requests / Re: More than two aliasses | Tagged Values
« on: November 15, 2016, 01:21:53 am »
You could show the TVs in their compartment: Features/..Visibility/Tags
Alternatively you could use shape script for displaying the TV contents.

q.

Thank-you, q.!

If Uffe's right, I might just as well use a script for toggling between Name and TV. Would have been nice, though... :-)

M.

3
Suggestions and Requests / Re: More than two aliasses | Tagged Values
« on: November 15, 2016, 01:18:17 am »
Hello Michael,


Adding a second alias would require changing EA's data model, along with various dialogs, the document generation facilities, etc etc. It would probably be a breaking change as well, so it is not likely that it will be implemented.

Basically, using the Alias field for a second language doesn't work -- or at least it only works to a very shallow depth.

Now I never ever do this, but it so happens I have a half-finished product that addresses this problem. It gives you the ability to add any number of languages to your models, but just like with aliases, switching from one language to another is a specific operation and it does affect diagram layouts.

If you're interested in something like this, please send me a PM with your e-mail address and I'll get back to you.


/Uffe


Thanx, /Uffe!
I was not very precise here. By "two languages" I meant one English name, one German name, conforming to different naming conventions (special characters, upper/lower case etc.). I agree it would be awkward to use one model for several programming languages.

Best
Michael
Best regards




4
Suggestions and Requests / More than two aliasses | Tagged Values
« on: November 14, 2016, 09:22:21 pm »
Dear EA,
it would be nice to have more than one alias - or to be able to use tagged values for display. We often have to model in two languages, with several name formats (machine readable, human readable; Java vs UML &c.). We solve this by creating a tagged value type for each name type, but as we can't show these tagged values in the name compartment, we are not able to adapt our diagrams to a given context.
Best
Michael

5
@Uffe: Great idea. I go along with it.

6
Pity... - Usually, when thinking,  "now, wouldn't it be nice if Enterprise Architect could [do this 'n that]...", I start browsing the documentation, and, bada bing!; turns out, it can [do this 'n that] already.   :)

7
Suggestions and Requests / Small request: Version info in project browser
« on: October 04, 2015, 09:13:03 pm »
Dear all,
a small request: It would be great to be able to optionally show version/phase/status info in the project browser (possible with stereotypes).
Best
Michael

8
General Board / Re: Properties: Redefinition: Display in EA 9.0
« on: July 30, 2012, 09:49:24 pm »
It's a little confusing:

1. Associations: Via tabs Association Properties > Source|Target Role > Qualifiers, you reach a tab, Detail, which is about redefinition, however, all the controls are disabled. No redefinition is shown, even if it's there. You have to use the context menu Advanced - always a good bet - and select Association Specialization. Now you can assign a redefinition, albeit only one. But it works, like you said.


2. Attributes: Attribute Properties > Detail. Here, the controls work, you can even assign multiple redefinitions. But they aren't shown anywhere, and I haven'd discovered any visibility option so far.

:-/

M.

9
General Board / Properties: Redefinition: Display in EA 9.0
« on: July 30, 2012, 08:02:23 pm »
Dear all,
is there any possibility to display the redefinition of a property on a diagram?

I think, documentation of an earlier version (7.*?) had it that attributes with identical names would "be merged" somehow in this case:


Att_01 isAttributeOfClass Cls_01 &&


Att_01 isAttributeOfClass Cls_02 &&


Cls_02 isSubClassOf Cls_01


(Cls_02.Att_01 being regarded as a redefinition of Cls_01.Att_01)

However, the feature did not seem to work at the time, and obviously has been discarded. According to UML 2.3 (http://www.omg.org/spec/UML/2.3/Superstructure/PDF/), redefinition should be stated thus:

‘redefines’ <property-name>

So that, in the context of Cls_02,


Att_01 {redefines Att_01}

EA has a very efficient way to model redefinition, but is there a way  to display it  as well - ?

Best,

Michael




10
General Board / Re: Sorting elements in the projet browser
« on: October 13, 2011, 05:26:08 am »
Hi,

1. Right click on the package.
2. In the context menu, choose "Contents"
3. Klick "Reset Sort Order"

Best,
Michael

11
General Board / Re: V 7.5: OCL-Validation: "&" Message
« on: April 08, 2010, 08:18:55 pm »
Yes - two times: First ">" became "&gt;", and during XMI-export "&" became "&amp;". Thus: "&amp;gt;".

I understand the second transformation, but why did EA transform ">" into "&gt;" in the first place? There was not "way to go along"; I just typed...

12
General Board / V 7.5: OCL-Validation: "&" Message - PS
« on: April 08, 2010, 07:54:18 pm »
PS: The XMI export...

<UML:TaggedValue tag="description" value="inv: self.author-&amp;gt;isEmpty() implies self.type = 'instrumental music' &#xA;"/>

...shows that there really seems to be something in the string which EA reads as an ampersand ("&amp;"). Problem is, how can I avoid this?

I've added the constraint manually - via the EA dialog. I haven't entered any character between the components of the arrow (hyphen and angle bracket)

13
General Board / V 7.5: OCL-Validation: "&" Message
« on: April 08, 2010, 07:39:57 pm »
Dear all,
its a little embarrassing, but:

Why do I get: "Failed to validate OCL expression: There was an error parsing on line 1. Unexpected symbol: &"

...after entering:

inv: self.author->isEmpty() implies self.type = 'instrumental music'

...as a class-constraint? There isn't any ampersand in the statement after all? - If I replace the "arrow" with a dot, everthing is fine:

inv: self.author.isEmpty() implies self.type = 'instrumental music'

But thats not what I wanted to say...

Best,
Michael

14
General Board / Change of class name not shown in attribute type
« on: May 25, 2010, 02:24:37 am »
Dear all,

v7.5; sometimes it works fine, most times it doesn't:

1. Create classes "Class_1", "Class_2"
2. Add attribute "attribute" to Class_1, set type to "Class_2"
3. Change name of Class_2 to "Class_3":

Problem: Class_1.attribute.type remains "Class_2". ("Select Attribute Type" shows Class_3, though.)
Tríed: "Save" or "reload" does not help.
Checked: No other classes with name "Class_2" in the model.

Did I miss something?

Best,
Michael

15
General Board / Re: Redefinition of UML-Attributes: How?
« on: March 26, 2010, 10:26:07 pm »
Thanks for the prompt reply! - Are you talking about Version 8 Beta 2? - In Version 7.5, there is one frame with "Multiplicity" controls and one frame with "Collection" controls - and one Checkbox for "transient". Nothing about redefinition...

Pages: [1] 2 3