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 - Pawel Zubkiewicz

Pages: 1 ... 3 4 [5] 6
Automation Interface, Add-Ins and Tools / Re: ERA Addin
« on: September 15, 2015, 11:32:56 pm »
More info about plugin can be found here

Automation Interface, Add-Ins and Tools / ERA Addin
« on: September 14, 2015, 09:32:23 pm »

Recently I dedicated some on my free time to develop an EA Addin.
It is called Enhanced Requirement Attributes (ERA) and its goal is to streamline and improve Business Analysis by adding new custom Properties Window for element type of Requirement.

The idea is to enhance default Properties Window with some additional attributes which are used to fully describe Requirement. In an example below you can see this custom properties window with sample Requirement.

Some of the fields are ordinary element's attributes like:
  • ID is Alias of element
  • Title is Name of element
  • Description is Notes of element
  • and so on.

While other, additional attributes are technically stored as element's TaggedValues:
  • Justification
  • FitCriteria
  • Source
  • Urgency
The selection of those additional attributes was not accidental. Actually this is a mix of attributes, inspired by BABOK and Volere frameworks/methodologies.

The addin is (will be) distributed as freeware so anyone can benefit from it.

The install file can be found here - it contains installer and xml template for generating PDF/Word documentation.
The example EA project file can be downloaded here (it already has template inside)

I'd be very greatful for feedback. So if someone has some 15 minutes to spare or works with requirements in EA and is interested in this particular field, please test it and tell me what you think.

I can't wait to hear your opinion :-)

Automation Interface, Add-Ins and Tools / Re: Export of custom template
« on: September 07, 2015, 06:04:31 pm »
Thanks a lot! :-)

Automation Interface, Add-Ins and Tools / Export of custom template
« on: September 04, 2015, 09:18:42 pm »

Is there a way to export (and later import in other project) a custom template? I have my project in MySQL repository.

I don't see any useful menu for that in Resources view.

Maybe try to investigate" Cloud Services" and "Scheduled Tasks": The cloud server includes optional support for running time based updates to data.

I haven't used it myself by maybe it has what you need (do baselines automatically)

Look at the report scripting.

Hi Simon,
I don't follow, this sequence diagram does not explain much to me.

You're saying it's possible to write a script the can include any diagram (found by SQL or any other means) in a generated document?

Could you elaborate a little bit more?

Lack of functionality allowing you to insert diagram found by SQL is a gap. Would be great to have this possibility added dear Sparx :-)

However, I managed to include this Activity Diagram using a simple fragment included into the template. By simple fragment I mean that I don't use SQL at all and I don't use model document.

Any way thanks Geert for inspiration :-)

Hi Geert,

I wrote a custom SQL query that finds inside of UseCase element an Activity and inside of it an Activity Diagram that I want to include in the generated document.

This SQL query is used in my "fragment" template Document options -> Custom query and is access via custom section of the template like that:

This fragment template is included in a "Use Case Details"  template like that:

So to SQL query can return ID or any other data of the diagram, but I don't know how to make EA to display diagram in a generated document and not only text information.
(In first screen you can see that I use variable {DiagramImg} but this is just my custom name, and EA does not display it as diagram)

Do you know if that's even possible?

I'll post the query here tomorrow.

The Brussels event will be completely in English, so you shouldn't worry about that.

I've finished the agenda this weekend, so it should be published somewhere this week.
Thank you for the query.

As it goes about EAUG event I'm very pleased with that info. I will definitely attend :-)

Hi Geert,

Your getElementByGUID function is publicly available somewhere?

In a matter of fact I plan to attend the Brussels event, however I still not 100% sure as I don't speak French and I'm afraid that half of the presentations will be in that language. I see that agenda is still not published.


I need your advice how to approach such a problem:
How to include an activity diagram that is stored under a Use Case in the generated document?

Generally I use (I think) standard approach. I create use case element. Define scenario using structured scenario functionality of use case, then I generate Activity Diagram which is put automatically under the Activity which is under Use Case element in Project Browser.

Now when I'm generating documentation I can't include the activity diagram. I try to adapt standard Use Case Details template but I really don't know if I can do it simple way (by selecting appropriate sections from the left menu in editor) or I have to use advanced functionalities (like fragments / queries etc.)

Here is a structure

So, the point 1.1 displays Primary Use Cases diagram which is ok.
Then, point 1.2 is iterated over by each element in the Primary Use Cases package - in result each use case has it's own subchapter (again this is ok).

Now I want to display in each of those use case subchapters an activity diagram (if available). So in this case for Display Account Balance use case I want to have in generated document Display Account Balance_ActivityGraphWithAction activity diagram just under {Element.Notes} element. How to achieve that?

Additional question: in the picture you can see in the sections tree highlighted Diagram element. Why I can shift it up/down (using hand icons) but not above
Package->Element->Event element?

Thanks in advance for any advice. :D

I'm using EA12.

Thanks for you help :-)

I'm using build in 'Numbered Headings' style in my custom template.
Headings are correctly assigned (as you can seen in previous post image):
{Pkg.Name}Heading 1
Use case: {Element.Name}Heading 2
Scenario {ElemScenario.Type}: {ElemScenario.Scenario}Heading 3

Now, I changed last element to Heading 2 and it works as I want it  :o.

So it's a little bit confusing, either there is a bug or heading levels are also taken from section level - what I mean here is that I imagine  Scenarios are children of Use Case element and as children they are pushed one level under the parent. So setting in template Heading level 2 for scenarios is evaluated as Heading of one level below: Heading 3.

I still don't understand how it works exactly, but at least I managed to have desired output. I think topic can be marked as closed.

Thank you Geert again for your help  :)

Geert I did what you suggested and created template from scratch:

And row header problem is eliminated as you can see in the picture below:

One curious thing: in template I have headings numbered correct, but in output Heading 3 is skipped and Heading 4 is displayed instead. Any logical reason for that?

If it doesn't work you might be able to get it working by deleting and recreating the table.
These templates sometimes get confused I think, and then often the only way to solve it is to delete the offending part and start again.
I used to work with EA9 & 10 and I see much has been improved but some problems remain.
Back to the topic: I created table for use case steps on my work and private computer, both times creating new template from EA's built in "Use Case Details" template. Maybe this is a problem?

For the other problem I would create a separate topic. It's always best not to mix different problems in the same topic.
Ok, I will make another topic for this problem.

You have to select the header row and mark it as being a header.
(right click, Table|Header Row)
Hello Geert,
I did this (it is mentioned in the first post) and it's not working as expected.

However, the problem from my second post is much more important for me. Do you have any advice on that?

Pages: 1 ... 3 4 [5] 6