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 - Eugen Wiebe

Pages: [1] 2
1
Suggestions and Requests / Re: RTF generation with images and tables
« on: December 01, 2010, 07:08:37 pm »

2
Suggestions and Requests / Re: RTF generation with images and tables
« on: November 26, 2010, 10:03:16 pm »
OK, again.
I have several requirements, and in the original Word document, there are sometimes pictures or Word-Tables used to better describe a requirement.

So, now I want to create an EA project (I have already a template) and put all requirements in there, also the bitmaps and tables for each requirement.

Afterwards I would generate document as RTF and it should look like (or be similar to) original Word document.
It should for each requirement show the text of the requirement (Notes) and also the Table and image.

Through RTF template I can manage Notes, Alias ... of the requirement, but how is about image and table?
I dont want to set the appearance of the requirement diagram to an alternative image and there use the wished image.

I thought, it would be possible to insert (copy/paste) image and table to Notes of the requirement ... but it seems, it isnt.


I have also read:
http://www.sparxsystems.com/downloads/whitepapers/Working_with_the_RTF_generator.pdf
but it did not help.

Is there a way (or an other way) to add images and tables to RTF document for each element?

3
Suggestions and Requests / RTF generation with images and tables
« on: November 25, 2010, 11:05:53 pm »
(see also: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1290675492)

I have feature requests:
1. Make possible to add images to elements
2. Make possible to add tables

These should be correctly added to RTF document

Why? Because in our original SystemRequirementSpecifcation in Word images and tables are often used. And if you want to create a SRS now in EA and then export to RTF (to give e.g. to the customer or use internally) it should contain the same elements as in original document.

Or describe an alternative way how to do this.
Thanks.

4
General Board / Re: paste image in notes gives img src - and table
« on: December 01, 2010, 08:07:08 pm »
Hi Geert, hello others,

little more explain:
I want to have a possibility for each element (e.g. Interface, Requirement or UseCase) add an image which describes this element and a table.
Afterwards I want to generate a RTF document and this image and/or table should appear near to this element.
Is it possible? If yes, how?

Why I ask:
We have a SRS (SystemRequirementSpecification) written in Word. This document describes: Interfaces, Requirements and UseCases.
For several elements, there are simple Word tables used (e.g. in size of 5x7). Also images are used to better describe an Interface.

Now was my idea to create a EA project (EA 8) and import the elements to EA (I have written / will extend an importer written in C#).
After that I would like to generate an RTF documentation of this EA project, and the RTF document should contain the image(s)/tables(s) of the used elements.

How would you do it?

Thanks

5
General Board / Re: paste image in notes gives img src - and table
« on: November 25, 2010, 10:09:23 pm »
@Sparx:
I have change requests:
1. Make possible to add images to elements
2. Make possible to add tables

These should be correctly added to RTF document

Why? Because in our original SystemRequirementSpecifcation in Word images and tables are often used. And if you want to create a SRS now in EA and then export to RTF (to give e.g. to the customer or use internally) it should contain the same elements as in original document.

Or describe an alternative way how to do this.
Thanks.

6
General Board / paste image in notes gives img src - and tables
« on: November 25, 2010, 07:58:12 pm »
Hello all,
I use EA 8.0.859
I want to see added images in RTF generated document.

What I did:
1.created a package and there created a UseCase element
2.opened the properties of the UseCase and pasted to the Notes of this element an image from clipboard.
3.WOW->the image appears. Super.
4.Press OK
5.Open the properties of this UseCase again.
6. What do I see? This:
<img src="HTS_1.PNG" width="113" height="108" border="0" alt="graphic"/>

WHY??

Also when I generate RTF document of this, I see in the RTF document (in notes of element):
<img src="HTS_1.PNG" width="113" height="108" border="0" alt="graphic"/>

I WOULD LIKE TO SEE THE IMAGE.
Is it possible?
Or is there an other way?
(I do not want to set the Appearance of the Diagram to this Image)

An other question:
what is about tables?
Are simple HTML tables supported?
Will generated RTF document have really a table then?

7
General Board / Generated State machine and switch/case
« on: March 29, 2010, 07:25:01 pm »
Hello all,
I have seen that the generated code of a state machine is in switch / case blocks.

Because some big projects have to handle a LOT of  states (I know a project with 780 states), it is not always the best to use switch/case. In this case a state machine with function pointers or look-up table is preferred.

@EA
It should be selectable which type of source code generation should be used:
1. look-up tables
2. switch-case blocks
3. functional states


info link:
http://www.conman.org/projects/essays/states.html

What do you think about this idea?

8
General Board / Re: How to create source code from StateMachine
« on: March 29, 2010, 07:05:28 pm »
@Nizam:
Yes, you are right. The best way to start is the EAExample (which is part of installation). If you have the right edition (e.g. Ultimate) then you can generate source code from state machine (which is inside a class !)

@Expedito:
Which Edition do you have? It will not work even with Corporate Edition.
You need higher editions (Business and Software Engineering, Systems Engineering and Ultimate editions)
You can use the Trial Edition of EA and set to Ultimate Edition at startup.

Then:
1. Create new Project
2. Create a class package
3. Add a Class Diagram to it
4. Add a class to Class Diagram
5. In Project Prowser->Right click on the created class->Add->State Machine
6. In Project Browser->Right click on the class->Generate Source Code
7. The source code will be generated to the specified file and state machine source code will be embedded into this class file generated source code (if you have the right EA edition)

9
General Board / Re: How to create source code from StateMachine
« on: March 02, 2010, 09:04:11 pm »
Hello Happy,
I have tried with Ultimate Edition (Trial edition set to ultimate, I expect that the trial Ultimate Edition should behave like real Ultimate Edition, only with time limit)

I have added State Diagram into a C++ class, the class code is generated, but there is nothing from State Diagram in it.

I use EA 7.5 Build 850 (7.5.850)

10
General Board / Re: How to create source code from StateMachine
« on: March 02, 2010, 08:07:14 pm »
Nobody who knows? Nobody who could help? Nobody who ever auto-created source code from state machine(s). I know there are special tools on the market which can generate source code from state machine model (e.g. VisualState from IAR, but it is expensive: 2000Eur for max 250 states). So if I (would) have EA Ultimate, why not use it?

Thanks

11
General Board / Re: How to create source code from StateMachine
« on: February 26, 2010, 09:31:48 pm »
I used the trial edition and selected Ultimate License at startup (version 7.5) and I am still not able to generate source code from state machine.
My state machine is in a class and I have done the points as said in http://www.sparxsystems.com.au/uml_tool_guide/code_engineering/code_generation_from_behaviora.html

1. I use Ultimate (trial) edition
2. My state machine is in a class
3. Object oriented support is set to TRUE for C

What I am doing wrong?

Could anybody explain step by step how to generate source code from state machine?

Thank you

12
General Board / Re: How to create source code from StateMachine
« on: February 26, 2010, 01:11:57 am »
I think I have the point:
http://www.sparxsystems.com.au/uml_tool_guide/code_engineering/code_generation_from_behaviora.html

says that "Software code generation from behavioral models is available in the Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect."

And I use the Corporate Edition
 :(

13
General Board / Re: How to create source code from StateMachine
« on: February 26, 2010, 12:49:20 am »
Do anybody know an example file which is able to generate C++ source code from model? If yes, where I could find it?

Is it also possible to implement a custom generator (Model->Source)?

14
General Board / Re: How to create source code from StateMachine
« on: February 25, 2010, 11:45:54 pm »
Could you explain little bit more please? How to bound a state machine to (part of) a classifier?

15
General Board / Re: How to create source code from StateMachine
« on: February 25, 2010, 09:19:13 pm »
I have forgotten to say: I am a C# developer. Perhaps it helps

Pages: [1] 2