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
1
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)


2
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">
   <AppliesTo>
      <Apply type="Realisation">
         <Property name="direction" value="Source -&gt; Destination"/>
      </Apply>
   </AppliesTo>
   <TaggedValues>
      <Tag name="Master" type="boolean" description="" unit="" values="true,false" default=""/>
   </TaggedValues>
</Stereotype>

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

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


3
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?

4
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
BUT:
  • 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:
"MDGDgm=CPH_MetaModel::CityMap;HideQuals=0;HideConnStereotype=0;"

5
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

6
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.

7
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)

8
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)

9
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)

10
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?

11
General Board / Poor diagram image quality in Web (HTML) Reports.
« on: February 02, 2016, 12:45:02 am »
My HTML reports show blurred diagrams (both text and lines).
I have included an example below of how my Web report diagrams look like.

I have tried many different combinations of settings (Image Format in html report window; Scale Saved Bitmaps to %; Image Memory Limit MB; Renderer; GDI Plus Meta-files; Scale view by %; Anti-aliased text; Compress text to fit within Element; Clipboard image format; ...)

But I have not found the cause of the poor image quality.

So please anyone - help :-)  What are the important settings and their values for geting proper image quality og diagram images in Web reports

(I did see http://sparxsystems.com/forums/smf/index.php/topic,25943.0.html - but that did not help me.)



12
General Board / Kanban dgms - hide the creator on elements?
« on: October 21, 2015, 12:00:23 am »
Kanban dgms always show the name of the element creator on elements.
I want to hide that - is that not possible?
I can of course delete the creator name on the element - but really ...  :)

13
General Board / Red triangle on element?
« on: January 29, 2015, 01:52:29 am »
What does this red triangle mean? - and in particular: how do I remove it?



I don't know how I happened to generate this red triangle.

If you happen to know, please let me know how to remove it.

14
General Board / Mapping attributes/columns to each other ...?
« on: November 28, 2014, 11:12:43 pm »
How do you map individual attributes to other attributes, e.g.:
- Business object's attibute to the DB column(s) implementing it
- Attribute to three other attributes that it is a compound of (e.g.concatenation)
In my model I have 'attributes' modeled as separate information elements (nested under their respective entities - just like normal attributes appear in the project browser). That gives me great freedom in mapping and other modeling like creating views (diagrams) with only a select set of attributes.
But I want to hear of other (your) experiences on treating attributes individually like e.g. mapping them to other attributes and elements.
Please let me hear your ways of doing this - I would appreciate it vere much.

15
General Board / HELP! - BPMN connectors dancing allover ! ?
« on: December 18, 2014, 04:09:13 am »
HELP :-/ :-)
When we create BPMN diagrams, we spend a lot of our time desperately trying to make e.g. the sequence flows position as we want - but they are dancing all over.
I'm sure we are missing some point here - what is the trick to make the connectors fall into the lines where we them?

(Currently on EA 10 - will be on EA 11 by January)

Pages: [1] 2 3