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]
What is the proper way to update my repository when changing an enumeration value in my MDG Technology?

For instance: I have changed an enumeration value from ”To-Be” to ”Tobe”. Lots of existing elements have a tag with the value “To-Be”. Their metatype + stereotype should still remain the same - but reflect the new enumeration on tags associated with this (as well as updating the obsolete values, of course).

What is the proper way to update all of my repository for this (in EA12)?

Is it correctly understood that even though the DocumentGenerator Class supports HTML file format, it is still just an HTML version of the RTF report?

In other words: it does not support the standard EA HTML report format with the TOC (with collapse/expand nodes) in the left side etc?

Is there another similar API or for coding an HTML report (with the same kind of control over which elements are documented in which order and in which structure / hierarchy) ?
(And which can gernerate diagrams with links, of course)

Automation Interface, Add-Ins and Tools / MDG - How to extend BPMN2.0 ?
« on: November 19, 2014, 10:18:51 pm »
I'm trying to extend BPMN2.0 in my own MDG  (still on EA 10).

I don't succed in using the MDG helper wizards - in the miscellaneous drop-down boxes I cannot choose from BPMN elements.

I have managed to extend the BPMN2.0::Activity like this without the MDG helper wizards:

Notice that the extended element (at top) is a stereotype element, not a metaclass element!
I tried to make use a metaclass element but have not succeeded in that.

Well, it creates a valid MDG, and it appears in my toolbox and I can use it on my diagrams. It also has all the BPMN2.0::Activity tags.

But problem:
1) When I add it to a diagram the usual auto-pop-up menu prompting the user for tasktype does not appear!
2) In the tags pane, the tags cannot be presented grouped in compartments - only alphabetically sorted!

Especially the first of the above two problems will be very unpopular among users.

So how do I create a proper MDG extension for BPMN2.0?

(I did see and check menroy's post, but it did not help me,

I can see, that I get a far better behaviour in BPMN in EA, if I add my own metamodel stuff by changing the original "BPMN 2.0 Technology.xml" file.

What are your experiences in adding new metadata directly to the "BPMN 2.0 Technology.xml" (or other MDG file)?

Of course, I will have more to manage whenever I upgrade to a new EA version. But I have not found any other solution to the problems mentioned in my previous post,

UPDATE: Sparx has acknowledged this as a bug.

In my MDG I hav created some stereotypes extending the Port metaclass.
When we use these stereotypes, the elements are not manually resizable - just like original Port elements.
However, unlike the original port elements, these elements do not resize automatically when we add exposed interfaces to them.
Is there a solution to this (e.g. can I make them manually resizable or auto-resizable somehow)?

I have created Stereotypes in MDG.
When I remove/change the stereotype on an element in my model, it looses the tagged values associated with the stereotype.
In the MDG I have derived stereotypes, e.g.:
ResourceObj specializes BusinessObj which specializes Obj which extends Class.
Obj carries the tags which are common for all aobjetcs etc.
My problem is, if a user changes/removes the stereotype on an element, all the tagged values are delted - and often the user wants to keep/transfer the tagged values.
Or maybe the user just removed the stereotype from the element by an accident.
Is there a way around this issue?
(In the old days, when I just used UML profiles (in EA v. 7), EA kept any old tagged values. That might leave some mess, but better for me to clean up via scripts, than loosing the tagged values)

In EA script, How do I specify which stereotype when there are more stereotypes with the same name?
They have different namespaces. But how do I specify the one I need in an assignment like: Obj.StereoType = "StTypName"

In an EA script, I want to move an element from one parent element to new parent element.
How do I do that?

In a UML profile, I have:
• A <<metaclass>> ”Class”
• A <<stereotype>> ”Obj” extending ”Class”
• Three <<stereotype>>s (”ProcessObj”,”ResourceObj”,”ReferenceObj”) specializing ”Obj”

Like this:

When I use the three <<stereotype>>s ”ProcessObj”,”ResourceObj”,”ReferenceObj”, they all have inherited the tags from  ”Obj” – so far so good.
BUT: the tags are not grouped according to the tag groups – in fact they don’t seem to have the tag groups (although the tags themselves are all there).

If I double check by including the ”Obj” in a toolbox in the MDG file, the ”Obj” does have the tags grouped properly.
I have many stereotypes sharing a common set of base tags. Is this not the proper way to do it?
I’m not familiar with how to use the Metatype, but have tried different variations without that solving this issue.
Does any body know how to do this (sharing a common set of tags)?
Also: Am I using the ”Generalization” connector in a wrong way in my UML profile?

Is it possible to open a (trusted) html page in EA and let it access EA objects?
I want to create special userfriendly searchresult pages in HTML in EA. And then have scripts in the result page letting the EA user navigate to wanted elements ('links' to EA elements).
Similar with other pages, e.g. a page displaying an element with related elements - in a manner meaningfull to misc. analyts.
The HTML page will be triggered and dispalyed within EA.
The HTML page will be generated from a web server (via SQL access to EA)

We need to update our EA repository (SQL server) from a Java web application residing on a linux server.

Using SQL to update EA with new elements, connections, diagrams etc seems far-fetched!

But can we use the EA Windows Automation API in this scenario from linux? - Somehow it MUST be possible - How?

[size=14]How do I exclude a package from an HTML report.
Packages can be excluded from RTF reports. Is there something similar that enables me to be selective of what packages I want to include in my HTML report? :question[/size]

Pages: 1 2 [3]