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 - Svend Erik Nygaard

Pages: 1 ... 4 5 [6] 7 8
76
Bugs and Issues / Re: Print to PDF
« on: June 30, 2015, 12:16:26 am »
Hmmm, when I use the "Print to PDF" on larger BPMN collaboration diagrams (17 pools) it Looses the lines of the sequence flows on the lower part of the diagram (the arrow heads 'survives', but the lines dissapear!)

 BUT: when I use "Print" and then choose the "PDF Creator" printer all items from the diagram survives - HOWEVER: with that driver I have not succeeded in retaining the diagram ratio - so that causes problems when I want to print wall-size prints out on our wide-format printer.

77
How do I include an external javascript library for my EA scripting?
(for instance JQuery)


78
Quote
xrefquery = "insert into t_xref (XrefID, Name, Type, Visibility, Partition, Client, Supplier) values ('"&CreateGuid&"', 'DefaultDiagram', 'element property', 'Public', '0', '"& element.ElementGUID & "', '"& diagram.DiagramGUID &"')"
Geert

Great, Geert, I hope to try with xref soon.
I had already noticed the NType=8, but not found the xref rows.
Thanks a lot :-)

79
I add a composite diagram to an object:
On a diagram: on an object: context menu -> ”New Child Diagram” -> ”Composite Structure Diagram” (or ”Select Composite Diagram).

If done from an activity in a BPMN process diagram, I can find this diagram by:
t_diagramobjects.Object_ID  -->  t_objects.DATA1  -->  t_diagrams

BUT: If done from a class in a class diagram, I can NOT find it.  How do I find the composite diagram in that case?

80
We are Building a web site from which we will be accessing the API (from Java).
This will easily create the scenario of concurrent calls to the same API instance.
Does the API support concurrent calls.
Has any of you tried this?

Secondly: Could I alternatively use the EA cloud server's http calls as an API from my own applications? - or does this only Work with the fat EA client?

81
Thanks Geert and qwerty,
that will probably be our initial/prototype solution.

82
Thanks Geert and Dermot.

This kind of stuff is outside of my comfort zone - so I'll talk to some OS/service Guys on this - when time comes :-)

I guess, as an alternative to the unattended Windows service, I could just start an EA instance on the same machine from which the EA API is called?
(probably less stability/robustness, though)

If, I have a web server calling the API (from the same machine): will I be able to invoke a call2 to the API before a previous call1 has returned?

83
For instance:
Generate an HTML report each night.
I have not found such, but is there some kind of scheduler in EA?
Or do I have to call the API's RunHTMLReport () from an outside application nightly?

84
Phew,
Thanks a lot, Geert  8-)

85
I'm pretty sure, I will be embarrassed by this question  :-[ – because this function must be there somewhere in the EA object model – but I cannot find it:

When I have an element: How do I locate it in the project browser for the user (like when the user himself uses “find element in project browser”
?

86
Thanks qwerty and Geert,
I perform some transformations on the individual element and also calll elem.SynchTaggedValues() which brings the individual element in line with the new metamodel (including changed enumerations). It works fine now.

In fact it seems to me, that I should use a script also when a user wants to change a single element's stereotype (when it’s a stereotype from UML profile / MDG). EA doesn’t handle this very well and removes tagged values when the new stereotype does not have corresponding tags – and the user is typically not even aware of thus deleting tagged values. EA is really unpopular on this point.

SQL: I use my sql editor on a daily basis (SQuirreL is particuallerly nice when using different kinds of databases) – but I’ve always been too wooried about bypassing EA objectmodel in updates – so I have never used sql to update EA. I’ve never used Repository.Execute() – I’ll have a look at that.

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

88
It seems to me, that I get the work done easier/better by doing it in the follwoning order (for each individual element:
1) clean up / transform tag names and values
2) EA.Element.SynchTaggedValues
... because the EA.Element.SynchTaggedValues  will attempt to find matching tags.

89
Thanks both.

And just to make sure:
Is it correctly understood that the DocumentGenerator Class with the use of HTML file format is still just an HTML version of the RTF report?

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

Pages: 1 ... 4 5 [6] 7 8