Book a Demo

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 - Stefan Christoph

Pages: [1]
1
General Board / Exporting diagram filters
« on: August 31, 2010, 10:25:55 pm »
Hi,

I just tried the usage of diagram filter to distinguish between different phases of a project (http://www.sparxsystems.com/downloads/quick/diagram_filters.pdf).

Now the question is how I can export the filters to be used in different models/project instances. I tried to Tools - Export like I do e.g. for automation scripts but I couldn't find diagram filters there. :-?

Any idea?

Many thanks in advance

Stefan

2
Hi,

update - issue is solved for me. Seems to be the case that I missed to check the obvious: File permissions have been messed up during data migration. It now works again like a charm.

Cheers,

Stefan

3
Hi,

I'm using a JScript within EA8 for quite a while which generates a file. The file is created via

var fso = new ActiveXObject("Scripting.FileSystemObject");

This all went smooth until the OS of my machine changed from WinXP to Win7. Running on Win7, I can't  execute the script anymore as I get a permission denied on the line quoted before.

So obviously the permission mgmt changed - anyone an idea to get the permissions sorted in win7?

Many thanks in advance

Stefan

4
and again a little bit more searching would have helped:

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1277431606/7#7

So it is possible and working for me as well.

Sorry for bothering you guys ..

Cheers,

Stefan

5
Hi again,

that was a rather easy question - I can now even answer myself ;-)
Operation are called Methods on the API level - which fits to the UML notion - and come with an API. Best way to start is the nice script example: ManageAttributesMethodsExample

Follow up question would be, if it is possible to read external files from a automation script. I would like to generate/update operations based on a input file. Is this something I could do if I execute my script from within EATool or do I need to chose an external runtime environment?

Cheers,

Stefan

6
Hi,

I'm right now looking at possibilities to access an elements operation. I can access the element (in this case a component which comes with a couple of operations defined on it) and can access interfaces, parts, etc attached to it via Element.Elements / Element.EmbeddedElements.

Up to know, i couldn't find a way to access the operations. I would like to read all defined operations and also to modify/add operations.

Is this possible via  the EA Object Model? Or do I need to access DB directly?

Cheers,

Stefan

7
Geert,

thats sounds good. I'll give this one a try.

Cheers,

Stefan

8
Geert,

thanks for your feedback.

I just tried you first proposal. That would work, but actually having The use case as one of the objects in the related sequence diagram looks a little bit odd on the first glance - I will nevertheless try it - might be a matter of getting used to it. At least this would be a easy to communicate rule to all the guys which are modifying the model.

Re your second proposal. What is the easiest way to populate the parent id of the diagram? Preferable that should be automated as we might have multiple guys working on the model. I couldn't find any spot in the UI where I could modify it..

Many thanks in advance

Steafn

9
Hi Geert,

sorry for the late reply, but I kind of missed your reply.
Your assumptions are correct. The sequence diagrams are right now below the use cases and hold the component instances which then send/receive the messages.

Cheers,

Stefan

10
Hi,

Background info:
our current project consists of a component model in which all the system components are defined and a use case model which contains sequence diagrams to document those.
The components are used within sequence diagrams. In fact we are using instances of the components to prevent EA from loosing messages in the sequence diagram.

Question:
Is there anyway to create some traceability matrix which shows which component is used in which sequence diagrams?
I tried the Documentation - Traceability Matrix feature from EA User Interface, but couldn't get a reasonable output.
The Show all Diagrams provides a usable output per component, but I would need to collect the results for all components.

I played a little with the Automation Interface fom JScript, but yet I couldn't quite figure out how to obtain information about instance of a element. Looking into the EA DB, it looks like that those are stored in the q_connections table, but I'm not quite sure if and how I could utilize this from an automation script. Any suggestions?

Many thanks in advance!

Stefan

11
Hi,

our model is version controlled and living in SVN. Is there anyway to get the revision number of the currently checked-out model via the automation model? I would like to reuse this in a JScript.
I only found a binary Flag which indicates if a Model/Package is version controlled or not.

Many thanks

Stefan

12
Hi guys,

right now I'm trying to generate HTMLReport of a model from a JScript running in EA. I utilize the RunHTMLReport in the ProjectInterface. In comparison to the user interface, I'm missing the ability to set
- the default diagram and
- the header Image
via the RunHTMLReport interface. Is there a solution for this?

I've seen that Page-Index html template contains #HOME# and #HEADER_IMAGE# place holder which I could overwrite with some hard coded values - not really optimal as the generated file names might change while model is involving.

Thanks for your support

Stefan

Pages: [1]