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.

Topics - Svend Erik Nygaard

Pages: [1] 2 3
Just to make sure, that I haven't missed the feature:

Is it correct, that there is no method in the object model telling which elements (plural) have been selected in the search result?

This is great (and, of course, about time  :))
Did you notice - Now you can also have icons on your stereotypes (metatypes) that extends package.
Earlier such icons would only show up in the project browser for elements, not for packages.

I cannot find how to publish a package as a UML profile  in EA v. 14.1.1427
I have tried:
Select a UML profile package in project broser
Then I go to ribbon: Specialize / Publish
But only gives me an option of: Publish Diagram as UML Profile (not a package)
I tried it, of course – but it actually does only save the diagram as a profile

I also tried the command search and opened the Save UML Profile window – but same result

In EA 14.0.1423 it worked (although, as Geert Bellekens told me, I had to have a diagram open )

Has anyone of you succeeded in saving a package as UML profile in EA v. 14.1.1427?

General Board / How do I hide derived tagged values?
« on: September 19, 2018, 06:57:45 pm »
In the tagged values pane/window, the derived tagged values are shown below the other tagged values.
This causes confusion and irritates my users.
I haven't found a way to hide them from the pane/window.
Is it not possible to hide these derived tagged values from this pane/window?

Suggestions and Requests / name's direction on dgm-link vs on connector
« on: August 21, 2018, 09:44:19 pm »
First: This is not about the connector's direction, but about the connector name's direction.

I have noticed, that the name's direction is stored on the diagram link - not on the connector.

This causes the following mal-function in EA:
1) the same connector can have different name directions on different diagrams - very unfortunate
2) when creating the same connector on (another) diagram, the name direction is not transferred (this is more an inconveniency than a malfunction - but it also makes modeling more error-prone, because of point 1 above)

I think the UML spec does noes not address this issue very clearly or explicitly - but I think the name direction should be on the connector itself.

This malfunction will probably make us use the connector's direction for the reading direction instead of the name direction.
Yes, I know, unlike the name direction, the connector direction has a semantic on it (navigability) - but since we don't use our model for forward engineering / code implementation, we may make that decision - unless there are plans to change the above described behavior.

Are there any such plans to change this behavior of the name direction in EA?

How do I administer enabling/disabling (and setting active) MDG Technologies for all users?
EA comes with a large bundle of MDG Technologies. I want to centrally disable a lot of these and set one of them as the active one. (preferably not for a specific model but for all clients)

In my MDG, I have a stereotype “impl” extending “Realization”.
Before EA14, it behaved just like all other stereotypes, setting a connector’s stereotype property to “impl”.
But after upgrading to EA14, it sets a connector’s stereotype to “CPH_MetaModel::impl” – which causes a multitude of problems in our automation routines.
It seems, all other stereotypes in my MDG do NOT have this problem.
Have any of you experienced the same issue?

Below, I have included the MDG XML for the impl plus a couple of other connector steretypes. As mentioned only the impl causes problems.

<Stereotype name="impl" metatype="impl" notes="" cx="0" cy="0" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
      <Apply type="Realisation">
         <Property name="direction" value="Source -&gt; Destination"/>
      <Tag name="Master" type="boolean" description="" unit="" values="true,false" default=""/>

<Stereotype name="at" metatype="at" notes="" cx="0" cy="0" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
      <Apply type="Dependency">
         <Property name="direction" value="Source -&gt; Destination"/>

<Stereotype name="reflect" metatype="reflect" notes="" cx="0" cy="0" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
      <Apply type="Generalization">
         <Property name="direction" value="Source -&gt; Destination"/>
         <Property name="isSubstitutable" value=""/>
         <Property name="_lineStyle" value="direct"/>

After upgrading to EA 14 (1422), I cannot save package as uml profile
In EA 13.5 this menu item was in the package's context menu. Now in EA 14 it is under the ribbon Specialize/publish - but here the menu item "Save package as uml profile" is gray out.
(of course, I have selected a uml profile package when trying)
What am I doing wrong?

I created a custom diagram type in an MDG.

When I use the MDG, I can select my custom diagram type when I create a new diagram
  • The new diagram does not get a customized type - it is still just "Component"
  • The new diagram does not get a customized stereotype - it is still blank in the stereoype
  • If I try to change the stereotype in the properties field, my new stereotype does not show up
  • The new diagram does not get a customized stereotype (in diagram peoperties window) - it is still blank in the stereoype
If I go to Design/Diagram/Manage/Change type... - then I can actually choose my new diagram type, but I still don't see any change in the diagram's type og stereotype.
The diagram pane's title bar does show the new customized stereotype though (<Steretype> diagram: <name>
EA also presents the associated toolboxes correctly
Does EA not set diagram type and stereotype in the usual fields (Diagram_Type and Stereotype) for a customized diagram?
I can see that it does include the name of my customized stereotype (CityMap) in the field StyleEx:

Automation Interface, Add-Ins and Tools / t_attribute - no ModifiedDate
« on: August 11, 2017, 05:01:05 pm »
The t_attribute table has no ModifiedDate.

Is there no way to see when an attribute was last updated?

I tried to see if I could find something in the audit log - but I only found the t_snapshot table and did not find any thing helping me there - and even if the audit log could help me, that would only work when the audit log is active.

I also checked to see if the object to which the attribute belongs gets its ModifiedDate updated when the attribute changes, but this seems not to be the case

I am (was) sure that there it's possible to export/import Perspective Sets, Workspaces, etc - but I cannot find how to do it. I don't see them in the Export Eeference Data. And I don't see any export/import function in the Perspectives Window either.
How do I export/import Perspective Sets, Workspaces, ...?
I have them on my old workstation (windows 7 + EA 12) - and distributed them to users in an MDG file.
Now I have moved to a new workstation (windows 10 and EA 13) - and need the perspectives, workspaces, ... to include in my MDG.

Is it not possible to set a tag up as a combo box, where the type is an enumeration, but where the user will also be able to enter a free-text value?
(My context is a UML profile in an MDG)

PutDiagramImageToFile varies its right and bottom margin sizes from one diagram to another.
The images produced by the standard EA HTML report produces diagram images with margins 10 pixels wide.
For some diagrams PutDiagramImageToFile does the same as the standard EA HTML report – but for some other diagrams it produces larger right and bottom margins.
The problem is that when I scale the images I need to know what the algorithm behind this behavior is – otherwise I cannot get the map areas correct on the HTML page (on our own custom website).
Can anyone tell me: what is the algorithm behind EA generating different margin sizes from different diagrams?
(the images produces are much larger than those produces by the standard EA HTML report)
(PS: SaveDiagramImageToFile has the same issue)
(PS2: have not tried PutDiagramImageOnClipboard, which I would very much like to avoid for this purpose)

General Board / No "Date" type for a class attribute?
« on: April 25, 2016, 08:36:45 pm »
How do I specify a class attribute to be of type ”Date”?
Whether I set the class Language to “<None>” or “Java”, When I want to select the type of a new attribute, I do not get a “Date” option in the select box with types (String, Boolean Integer, ..).
I’m quite puzzled. I’m sure I’m missing something here (I even had to ask a colleague to double-check for me)  – what is it, I don’t see?

(until now, I have used sub elements instead of attributes - because attributes do not satisfy our modeling needs)

Automation Interface, Add-Ins and Tools / MDG: tags on attributes?
« on: April 21, 2016, 09:01:45 pm »
I’m using MDG to create my metamodel, and have plenty of tags on customized elements (based on classes, components etc.)

But I don’t see how I can create a set of customized tags on the attributes of my elements.
How do I do that?

Pages: [1] 2 3