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

Pages: 1 ... 3 4 [5] 6 7
61
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.

62
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?

63
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?

64
General Board / Re: Embed or attach a document into model
« on: June 06, 2012, 05:52:49 pm »
No chance of storing a file inside the model?
Your suggestion stores the file somewhere on the file system and simply refers to it from the model.

65
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

66
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.

67
General Board / Re: Cannot delete package
« on: December 08, 2011, 01:17:14 am »
There is no finding by the Project Integrity Check.

@qwerty
No duplicate users in the users list (menu Project -> Security -> Manage Users...)

:(

68
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?

69
General Board / Re: Version controlled packages: Replace xml file
« on: November 22, 2011, 12:55:01 am »
I feared that answer :(.

A checkout of the file does not work as EA shows an error messages saying that I have to choose another filename. EA refuses to replaces a file, no matter if the file is checked in or out.

Thanks anyway. You are always a good help.

Kind regards
Boron

70
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?

71
General Board / Re: Automated project transfer
« on: October 28, 2011, 05:48:16 pm »
A year ago we switched from checking in the XMIs to EAP files because our UML profile is not part of the XMI.
So when someone wanted so see the model he imported the XMI into an empty model and all diagrams looked not the way we are used to, because in our UML profile we have many customized elements with own shape scripts.
An EAP file is much more comfortable. Everything is in it. Even in ten years!

72
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?

73
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

74
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?

75
General Board / Re: Swtich off color gradient in class elements?
« on: July 14, 2011, 04:38:23 pm »
It is directly in front of my face and I didn't see it  :(. So easy!

Thanks a lot RoyC.

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