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 - Konrad Wieland

Pages: [1] 2
1
General Board / Re: Import source C# auto-implemented properties
« on: April 18, 2013, 06:36:18 pm »
Some months ago, we requested the same at Sparx HQ. The answer was, that the "automatic" properties correspond to Operations and operations are not represented by Associations.

Cheers
Konrad

2
General Board / Re: How to select multiple connectors?
« on: April 18, 2013, 01:24:11 am »
You could use EnArPowerTools for this purpose. In its first version you can apply different styles to more than one connector:
http://www.lieberlieber.com/model-engineering/enar-power-tools/features/

Cheers
Konrad

3
General Board / Re: MDG Model Pattern
« on: April 18, 2013, 12:49:54 am »
Ok, Model Patterns can also be integrated below the selected package. I was also convinced that they are applied always below the root package.

Cheers
Konrad

4
General Board / Re: MDG Model Pattern
« on: April 18, 2013, 12:46:53 am »
From the EA help file:
Quote
isFramework: Defines the possible uses of a model pattern; there are three possible values:

· isFramework="true" - never strip GUIDs; the Pattern is intended as a re-usable package for any model

· isFramework="optional" - prompt to strip GUIDs; the Pattern is intended as a re-usable package, but the user can choose  

· isFramework="false" - always strip GUIDs (the default, if not stated); the Pattern could be applied multiple times within the one model
  

Cheers
Konrad

5
General Board / Re: MDG Model Pattern
« on: April 18, 2013, 12:16:14 am »
Helmut,

I don't think that this is possible.
But for these cases I would use the UML patterns. You can also put these patterns into a custom toolbox.

Of course an other alternative would be to import the generted XML file manually or with the help of a script/plug-in.

Cheers
Konrad

6
General Board / Re: MDG Model Pattern
« on: April 17, 2013, 10:55:35 pm »
Yes, you can do this. You create your model in the traditional way and export it as XML file. Now, you have to reference this pattern inside your MTS file, which you get when generating an MDG Technology.

You have to integrate in the MTS file the following:
Code: [Select]
<ModelTemplates>

  <Model name="Template Name"

         description="This is the description."

         location="MyTemplatePackage.xml"

         default="yes"

         icon = "34"

         filter= "Filter Name"

         isFramework=false"/>

</ModelTemplates>

For more information, please look at the help file under "Incorporate Model Templates"

Cheers
Konrad

7
General Board / Re: Search for messages between certain life lines
« on: March 09, 2013, 01:06:47 am »
Hi,

I developed some months ago a SQL query doing similar things as described by you. The output are operations used in messages between objects in e.g. Sequence Diagrams. With this query you can check whether a real operation is used for a message or not.

Maybe it helps you to develop your own query satisfying your requirements.

Code: [Select]
SELECT C.Name AS ClassName, t_operation.Name AS OperationName, t_operationparams.Name, t_operationparams.Type, t_object.Name
FROM ((( t_connector  as C
LEFT OUTER JOIN t_connectortag ON C.Connector_ID = t_connectorTag.ElementID)
LEFT JOIN t_operation ON t_connectorTag.VALUE = t_operation.ea_guid)
LEFT JOIN t_object ON t_object.Object_ID = t_operation.Object_ID)
LEFT JOIN t_operationparams ON t_operation.OperationID = t_operationparams.OperationID
WHERE (C.DiagramID BETWEEN 1 AND 99)

Cheers
Konrad

8
General Board / Re: Code Generation for SPS
« on: February 23, 2013, 01:38:08 am »
Mr. Sanders,

at LieberLieber we do a lot of stuff with generating code out of state-mashines and activity diagrams - especially with customized solutions. We have recently developed an own Embedded C-Code Generator for Enterprise Architect, which also produces no object-oriented code.

If you are intereseted in support for SPS generation or for an own solution please contact me under [email protected]

9
General Board / Re: How to filter requirements in RTF generation?
« on: February 14, 2013, 03:23:11 am »
Since EA v10 document template fragments can be used in combination with e.g. custom SQL queries. With these queries you can easily filter the elements.

Here is video showing the new capabilities:
http://www.youtube.com/watch?v=FdZQ2m-tjIQ&list=UU1IbtSvXDURkqZQf_EpyvgQ&index=1

Cheers
Konrad

10
General Board / Re: Text size on 'Labels'
« on: November 15, 2012, 01:55:19 am »
Select an element and click on Set Font icon. There, you can also adjust the text size.

Cheers
Konrad

11
General Board / Re: Element from "Diagram Element" in doc gen
« on: November 15, 2012, 01:48:51 am »
I don't think this is possible. I didn't find a posisbility.
However, EA v10 will solve your problems. With the new version you can use custom SQL queries to get all information you want for your documents.

12
Uml Process / Re: C# code reverse engg to generate State Diagram
« on: February 18, 2013, 10:20:03 pm »
So far as i know, reverse engineering code to state machines is not possible with EA.
You could import your c# files and use the generated operations of the classes for manually creating state machines or activity diagrams.  

As g.makulik mentioned, you can record the sequence of your program via the execution analyzer and EA automatically create a UML sequence diagram.

Cheers
Konrad

13
Via the API you can "easily" find out which diagram objects of an element are in which diagram.

Is this not a possibility for you? Or did I misunderstand your question?

Cheers
Konrad


14
Thanks a lot for your response.

But problem is, that I'm interested in exactly this raw to set the code gen options before generating code... :(

Cheers
Konrad

P.S.: I will contact the HQ for this issue/bug.

15
Hi all,

I've tried to access the code generation option table (t_genopt) via SQL out of my C# plug-in, but I failed.

The call looks like that:
Code: [Select]
repository.SQLQuery("SELECT * from t_genopt")
However, I always get an error message inside EA:
Quote
Error:
Code = 0x0
Source = Line: 0; Char:0
Error Description = (null)
For all other tables, which I tested, it works, but not for t_genopt. The select statement works when executing it in Access or EA or SQL server.

Do you have an idea why it does not work?

Thanks a lot in advance!

Cheers
Konrad

Pages: [1] 2