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

Pages: 1 [2] 3
16
General Board / Multi value/selection tagged value
« on: March 14, 2013, 09:03:09 pm »
Hello,

is it possible to create a tagged value that has has not only one value but allows selection of more than one value?

Background: In my software I have a central state machine (states: Init, Normal, Error). This state machine calls, or does not call, C-functions depending on the system state.
In my EA model I have functions (designed as ports of classes, implemented as C functions) that have to be called by the state machine. Due to other reasons I have to write the information in which state a function has to be called at the function and not at the state machine. One function has to be called in Init and Normal, the other function in all three states for example.

My idea was to use a tagged value based on an enum type that offers all possibles states. But instead of selecting only one of all possible states I would like to select more than one, or all states, or even none of them, ...

Maybe this idea is complete crap, therefore alternative ideas are welcome (note elements with list of states are not an option).

Many thanks.

17
General Board / Deletion of package not possible
« on: October 05, 2012, 06:11:01 pm »
Hello,

I wanted to delete a package that obviously does contains no more sub elements in the project browser.
We have enabled "Require User Lock to Edit" for the model.
I applied a user lock including child packages.

Now EA tells me in a message box "The selected item is currently locked, or contains items that are currently locked. It cannot be deleted this time."

There are really no more elements below this package visible in the project browser.
The project integrity check finds no problems.
Any ideas?

18
General Board / Cannot generate code of state machine
« on: September 20, 2012, 05:00:59 pm »
As described in the EA help system I created a state machine below a class.
When running the code generation (Java) only the class with a constructor and a finalize() method is generated. There are no methods which would implement the state machine.

I thought of creating an operation in the class an "linking" the state machine with this operation, but this 1. doesn't seem to work and 2. seems not to be the way how it shall be done.

The EA help system only tells that the state machine shall be below the class. And the help system presents example code that has been generated for a state machine. But the steps that lie between "state machine design" and "see generated code" is not described.

We are using EA 9.x Corporate Edition.
What did I make wrong? What did I miss to do? How can I generate the code of a state machine?

19
General Board / Embed or attach a document into model
« on: June 04, 2012, 06:27:02 pm »
Hello,

I searched a lot in the board but I could not find an answer to my question (neither a positive nor a negative answer):
How can I embed or attach a document into the model?

The document may be a Excel or Word document or anything else.
I am thinking a mechanism just like an email attachment. The file is stored inside the model and when double-clicking it opens in the intended tool for editing.

I an diagram I could set a hyper-link to an external storage location to the document. But as the storage location is not fixed a storage inside the model would be great.
All I can find is that I can embed RTF files, but I have an Excel document.

Any ideas or is it impossible?

Thanks a lot
Michael

20
General Board / Transparent background color for elements?
« on: January 21, 2012, 01:02:16 am »
Hello,
how can I set a transparent color (well, "no color") as background color for an element?

I have unintentionally set a background color for an Activity Partition. Now I should change it back to "transparent".
Somehow this seems not to be possible.

21
General Board / Cannot delete package
« on: December 07, 2011, 06:44:06 pm »
Hello,

I have a very strange thing here in my EA model.
In the project Browser I see an empty package that I want to delete. There is no diagram or sub-package visible in the project browser.

I locked the package and its parent package as I want to delete the empty package.
An error message is telling me:
Quote
The selected item is currently locked, or
contains items that are currently locked.

It can not be deleted at this time.
When locking the package I of course checked the "Include Child Packages" option.

Any idea what EA has done to my model, and how I can solve this?

22
General Board / Version controlled packages: Replace xml file
« on: November 21, 2011, 11:47:32 pm »
Hello,

we have enabled version control for our packages in our project models (EA 9 with ClearCase as version control system). This means that we have many version controlled xml files, each containing the design of one packages. Together they form the complete design of our software.
Up to now we have no big problems with this approach.
Just for one thing...

If we want to enable version control for a newly designed package and store it with the file name e.g. Package.xml what can we do  if we want to replace an already existing file with the same name?
I know that deleting the original file from version control system and create it new by setting the EA package under version control would be the straightforward method (EA exports the package content to xml and sets the file under version control).
But let us assume this is not an option.
What if I just want to replace the already existing file?
Is this possible with EA, and how?

23
General Board / Automated project transfer
« on: October 27, 2011, 07:41:23 pm »
Hello,
I often need to make baselines of our project models. Our models are stored in a SQL database. We have about 10 different model ().
We don't use the EA baselining mechanism as we want eap files to be checked in our version control system.
Therefore we make a "project transfer" (DBMS to .EAP) for each single model in the database. This is very time consuming and prone to erros (e.g. selected model X for the transfer when you meant Y).

Is there a way to automated this? Maybe via the automation interface?
Thanks for any idea?

24
General Board / Decouple EA model from version control
« on: September 22, 2011, 06:46:13 pm »
Hello all,

I have an EA model that is under version control (ClearCase). Means: several packages are version controlled and subpackages of the "parent packages" are separately version controlled too.

My question is if there is an easy way to completey decouple all version controlled packages from version control without checking each single package manually?

Kind regards,
Boron

25
General Board / Delete tagged values on many elements
« on: July 22, 2011, 04:50:48 pm »
Hello,
in our model we have over 6000 elements (classes and ports) where each has a tagged value name "CA_version".
As we don't need that tagged value any more I wonder how I can delete all these tags without doing it manually (selecting the tag in the tagged value window and clicking on the delete button).

How can thousands of tagged values (identical name) on thousands of elements be deleted?
By directly manipulating the database?
Other idea?

26
General Board / Swtich off color gradient in class elements?
« on: July 13, 2011, 11:24:25 pm »
Hello,
EA version is 9.0.907.
I wonder if it is possible to switch off the color gradient of a class element in a diagram.
In the Tools -> Options... dialog it is possible to switch on or off the "gradient fill for paper color". Is the same possible for the gradient fill in diagram elements like classes?
This gradient look awful when a diagram is printed or stored as PDF file.

27
General Board / Sort the elements of a class?
« on: April 07, 2010, 11:35:58 pm »
Hello EA users,

I would like to ask if it is possible to sort the elements of a class in the project browser?
If allowed I would have attached a small snapshot of the project browser, but so a the following text must be suffucient:
Code: [Select]
TestClass
- <<servicePoint>> servicePort_2
- <<requestPoint>> abcPort
- <<servicePoint>> servicePort
- <<requestPoint>> defPort
- <<myPort>> myPort
New elements seem to be alphabetically sorted when added to the class. Sorting can later be done via the context menu entries "Move up" and "Move down".

But if the elements are not sorted, eg. someone "moved up" and "down" the elements, is it possible to let EA resort the elements, e.g. sort by stereotype and/or alphabetically?

Many thanks for your help in advance.
Boron

28
Bugs and Issues / Problems with images / image manager
« on: August 06, 2014, 05:00:01 pm »
Hello,
we are planning to migrate our EA model repositories from PostgreSQL 8.4 to 9.3.x.
After having set up the new server and database we transferred a model to the new server:
- On old server: create a backup file using pgAdmin III
- Copy file to new server
- On new server: restore the backup file into a database

When connecting from EA on a client PC to the new database EA 11 does not display images  that have been imported to the model.

All images accessible via the Image Manager (menu Settings -> Images...) cannot be displayed by EA.
Clicking on a bitmap "File Type" image shows only a black preview image.
Image of "ENHMetafile" type are commented with a message box telling "Not a PNG file", which is obviously correct.

I checked accessing the model with EA 9 and EA 11. Both version show the same behavior when using PostgreSQL 9.3.x as repository server.
When connecting to the old server with PostgreSQL 8.4 all EA versions don't have problems with the embedded images in the models.

I cannot image what might be different between PostgreSQL 8.4 and 9.3 concerning images in an EA model. Images are stored as binary data in the database.
So what is wrong here?

29
Bugs and Issues / Text in note elements loose line breaks
« on: May 09, 2014, 05:33:45 pm »
Hello,
I have a really strange and annoying problem with EA 9.3 (I also tried the new EA 11 but it shows the same behavior).

In the last few moth there are more and more note elements in our EA models whose texts have somehow lost the intended line breaks.
E.g. sometimes we have tiny code snippets (are any other text, doesn't matter). This snippet has been entered with line breaks:
int myFunction(void)
{
    //do something
}

One day this snippet was shown the following way in the diagram and in the note properties dialog:
int myFunction(void){   //do something}

Sometimes it helps to type in the text again with line breaks, but it is impossible to cover all notes throughout all the models.

I have not found a similar problem in this forum.
Reinstalling EA did not help (regardless the version, see above).

Any idea what might cause this problem?
Any idea how to solve this?

30
Uml Process / Set default notes for newly created elements
« on: August 16, 2011, 05:42:05 pm »
In our UML profile we defined a stereotype "Invariant" based on the metaclass Requirement.
Is it possible to set a "default comment" for elements based on a stereotype?

I thought of extending the shape script in some way. Currently we display the notes of such an element with the shape script command printwrapped("#notes#"). But this simplay takes the notes that the user enters for the element.
I want to set a default note that may be edited by the user.

Pages: 1 [2] 3