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

Pages: [1] 2

I've used EA for developing programs, but now I need to use it for trying to simulate a business process and check if it's convenient or not.

My example for the business process is the following one: I need to run a service in a server and I've two possibilities:

  • Buy a server with an initial investiment, and then paying the housing;
  • Use an amazon EC2 service, and pay for hour.

I model the service as something that every day gives a number to me, I multiply the number with a custom parameter, and I obtain the money that I gain that day.

I want to model the process in order to check what's the best alternative. I'd like to run a simulation instead that make calculus by hand (real process that I want to simulate is similar but more complicated).

How can I start to model it? Which kind of diagrams I need to use? and how can I run the simulation by setting parameters (investment, cost for hour and so on) so I obtain the result that allow me to choose which alternative (and parameters) give the best gain to me?

Uml Process / Use case with optional steps
« on: December 07, 2016, 07:15:42 pm »
I want to draw an use case for closing a program.

If I select the close button, the program shows a dialog ask for confirmation and if confirmed closes. This happens when no documents are opened.

But if one or more documents are opened, I want to show before the dialog for closing the program, dialogs for saving and discarding opened documents.

Do I need to create different use cases (one for closing programs with no document opened and another one for closing program with opened document), or there's a way to define optional steps in an use case?

General Board / Save image with background
« on: November 15, 2016, 07:46:36 am »
I've create a new theme that I want to use for saving diagrams.
I've set a color for the background, but when I save the diagram with Publish->Save Image->Save to File, the background is white.

How can I save the diagram with the background that I've set?

Suggestions and Requests / Real-time style color change
« on: November 15, 2016, 06:23:30 am »
I need to change colors of uml components for a diagram. I use the Fill Color button in the Style group of Layout tab.

Until I select the color, the uml diagram element is not updated. It will be wonderful if the color of selected element(s) can change when hovering on a color of the palette. This way I can select the right color in a more straightforward way, without the necessity to select them manually every time, saving a lot of time.

General Board / Change language of all elements of a package
« on: October 31, 2016, 05:03:19 am »

I've a project where there are many uml classes inside a package. The problem is that the language is wrong for all of them. I have to change classes language from Java to C++ for all of them. How can I automate this task without changing every class manually (they are almost 500)?

Suggestions and Requests / Choose diagram theme when saving image
« on: October 30, 2016, 06:06:58 pm »
Often I need to save diagrams to a file. I use Publish->Save Image->Save to file.

The problem is that the diagram theme that I use for drawing is not the same that I want to use when I save an image, so I have to switch every time the theme. I'd like to have an options for setting the theme of a diagram when saving it, and/or the possibility to select it in the Save Image dialog (maintaining the last one chosen perhaps?).

Is it possible?

General Board / Set page color
« on: August 22, 2016, 01:37:37 am »
Hi. I want to create a cover page similar to the attached one.

In order to to this, I need to fill the entire page with a background color. I've set page margins to 0, but I cannot fill exactly the page. I've created a table with a single cell but I cannot fill the entire page with the table cell. If I try to enlarge the cell to the entire page, when the bottom border almost reaches the bottom part of the page, a new page appears.

What's the most intelligent way to set a background color for the page?


I need to export diagrams in a vectorial format, like SVG or EPS. Considering that they are not supported, I'd like to create a plugin for creating the SVG of a diagram (it should be not so difficult, considering that an SVG is a text file, and that at the moment I need only vectorial data and my diagrams don't have bitmaps).

I'd like to know how can I access in a script (i.e. javascript) to layout data of a diagram. I.e. I'd like to have the position and the dimension of every element in a diagram. Is that possible?

General Board / Copy Requirement diagram incrementing autocounters
« on: July 12, 2016, 05:18:15 am »
I've the situation that you can see in the bottom image.

I've a package named CIGI 3.1 with some Requirements Diagram and many requirements in it. These requirements have an auto-counter set.
I have to create a new CIGI 3.2 requirement package that's almost equal to this one (only a few of them change). In order to avoid to re-create all these requirements, I want to clone this package and then modify the cloned one.
In order to clone it, I'd like a programmatic way to do following things:

  • Copy every requirement in the new package incrementing the autocounter. I.e. "RQ-0126: CIGI 3.1 etc etc." will be copied in a new requirement "RQ-0255: CIGI 3.1 etc etc" (the number of the requirement must be the next available, like adding a new requirement normally).
  • After cloning, in the new package replace "3.1" with "3.2" in every requirement (both requirement title and note).

I don't want that you make all the work, but I don't know almost anything about scripting, so any help will be really appreciated.

General Board / Best way to link external files
« on: July 12, 2016, 12:09:57 am »
I'm creating many requirements for implementing messages that I receive from network.

I want to specify meaning and fields of every message but, since they're a lot, instead of writing their description inside the requirement I'd like to use a link to an external file that already explains the ICD.

I'd like to know what's the best way to do it. I want to create a file link inside the note, but it links to a file on my pc, so if I move the project to another computer I lost it. I'd think to have the .eap file inside a folder, with a sub-folder with related documentation, and I'd like to move this folder from one PC to another one and, when opening the project in EA, clicking on a file link will open the file.

In other words, is it possible to use relative paths instead of absolute ones when creating a file link when I'm writing notes in the property window of a diagram element?

Suggestions and Requests / [Forum] how notify spam
« on: July 10, 2016, 05:41:32 pm »
I've just read a post that's spam:,31126.0.html

How is it possible to notify when a post is a spam or, more in general, offensive and so on?

General Board / Modelview for not validated requirements
« on: July 09, 2016, 10:42:34 pm »
I've many requirements in many packages.
I want to obtain a list of these requirements that are not validated or not implemented.

I've added in a diagram a Modelview artifact, and I've used following query:

Code: [Select]
SELECT t_object.Name FROM t_object WHERE t_object.Status <> 'Validated';
I obtain all elements in my project that are not validated. How can I select only requirements (both functional and non-functional)?


This is what I actually see in Beta13. I'd like to have an horizontal scrollbar when the tree is larger than the widget, so I can see all the hidden text without resizing the widget. Is it possible?

Uml Process / [Sequence Diagram] Setting an object to another object
« on: June 28, 2016, 08:33:13 pm »
This is my situation:

  • I've a Sink class in which I can set some property
  • I've a static Configuration class. This class has a method addSink that takes a Sink as argument and deep-copy it inside the class instance.

I want to create a sequence diagram in which I set an instance of Sink (named ConsoleSink) and then pass it as argument of my Configuration class instance.

This is what I've done:

I don't know if I'm doing it correctly. I want to show in Sequence digram first that I create and set the Sink class instance, and then I pass it as argument in Configuration class instance.

This is the correct way to do it?

General Board / Export theme to another pc
« on: June 22, 2016, 05:55:24 am »
I've created a new theme for diagrams. I've saved it as new Diagram Theme (right click on diagram->Advanced->Set Theme->Themes->Save).

How can I export this theme and import it on another PC so I can use it in both my desktop and my laptop?

Pages: [1] 2