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

Pages: 1 ... 25 26 [27] 28 29 ... 35
General Board / Re: MDA Transf. -> DDL - wrong primary keys gen
« on: March 28, 2010, 10:14:10 am »
Not sure what you are trying to achieve but it looks like you may a problem with your thoughts on what is a platform independent model (PIM). Generally you don't worry about implementation details such as gUID's as this is platform specific. So from your example you would delete the gUID attribute from the elements on the left. If you really need a primary key called gUID then modify the DDL transform to change the primary and foreign keys. You will need to modify the scripts under DDL.Class, DDL.Connector and DDL.ForeignKey.

For example in the DDL.Class script you would change the attribute "name" in script below
     name=%qt%%CONVERT_NAME(className, "Pascal Case","Camel Case")%ID%qt%

To something like this

You'll also need to modify those other scripts DDL.Connector and DDL.ForeignKey in a similar fashion.

Well I hope that helps.

General Board / Re: Can anyone share experience with code sync?
« on: March 24, 2010, 03:49:55 pm »
Here is a thought if you are using C# you can use partial classes to separate generated code from hand crafted.

General Board / Re: Persistence - Ongoing "Model-first"
« on: March 23, 2010, 06:21:56 pm »
I'm sure the MDA purists would say the PIM is the master and everything is generated from it so when change happens you only maintain the PIM and re-generated everything. So in theory you only need to maintain one model, the PIM. However, you know what they say about theory and practice. In theory they are the same but in practice they are different.

Here is a thought for LINQ - you could write you own MDA to create your LINQ model and code from the DDL Model. A kind of two phase MDA process. You would need to identify the common LINQ pattens you would want to use in your application first. You may like to look at LINQ examples to identify the patterns you think would be most useful (See

I did an PIM->DDL->Stored Procedures (two phase) MDA transformation a few years back on a project that worked quite well and saved a truck load of time.

Afraid EA doesn't support Persistence Frameworks out of the box other than EJB - you have to do the customization yourself.

If your looking for other persistence frameworks as alternatives then consider NHibernate or IBATIS. Unfortunately using any of these with EA means you need to do some customization to EA.

Here is an opportunity for the EA community to contribute to the success of EA by creating MDA scripts to support persistence frameworks such as LINQ. We could upload them to the EA community site

Well there is my 2 cents worth.

General Board / Re: C++ MDA Transform
« on: March 24, 2010, 04:07:52 pm »
Yes it seems to be an oversight no PIM->C++ MDA transformation.
Its not difficult to create your own MDA transformation. Give yourself a few days to learn the scripting language and create the first draft. Then about a week or two afterwards to fine tune it when you are using it in anger.
You may wish to consider copying the C# MDA transform and tweaking it to C++ rather than starting from scratch.

Don't forget to set the collection classes under tools>options>source code engineering>C++

General Board / Re: UI niggles - Keeping some panels, closing othe
« on: February 26, 2010, 07:35:50 pm »
I've used EA for about 5 years and I like the start page. :)

General Board / Re: SQL Server vs Oracle 10g
« on: January 29, 2010, 12:50:39 pm »
I've used SQL server 2008 for over a year now with no problems other than importing visio diagrams. Sorry haven't used Oracle 10g with Enterprise Architect.

General Board / Re: Visio Business Process Modelling Conversion
« on: August 27, 2009, 12:36:10 pm »
I've used the visio importer successfully in the past. I imported several process diagrams into Enterprise Architecture as activity diagrams. There was a little post processing of the diagram after importing but it worked.
One problem I did encounter was when I moved from an EAP file to SQL Server based model. For some reason it just wouldn't work when the EA respository was based on a SQL Server DB. My work around was;

1) Import the visio diagram into an EA model based on EAP file
2) Export the result into XMI file
3) Import the XMI file into the EA model based on SQL Server.

A bit convoluted but it worked.

I have to confess that I haven't tried the new Visio importer version 1.5 yet as I'm not doing any visio importing at the moment.

General Board / Re: How to hide package names in class diagrams?
« on: August 11, 2009, 05:23:58 pm »
To remove the package name in the class diagram, open up the diagram properties dialog by right clicking on diagram and selecting properties. In the properties dialog select the diagram tab. On the diagram tab uncheck the "Show Namespace" option. Click okay button and hey presto package name disappears from classes on the diagram.

General Board / Re: HTML Report
« on: June 30, 2009, 08:20:28 pm »
In answer to those two questions

1. You can create a Web Style template and modify the defaults then use the new template to generate the HTML Report. You can modify the template via the resource window under Resources>Templates>Web Style Templates. Create a new template and then try Editing the "Page - ToC" part of the template.

2. Afraid the answer is no not at present. You could ask Sparxs to add it in the next release though.

Hope that helps


General Board / Re: Trying to model relationships for ASP.NET web
« on: June 30, 2009, 08:42:44 pm »
You may find some help in a book by Jim Conallen called Building Web Applications with UML.


Bugs and Issues / Re: Sparx EA and Windows 10
« on: August 19, 2015, 08:37:12 am »
Yes, thanks saw that about windows 10 not being supported yet.
Will log a bug report and supply the model over the weekend.

Bugs and Issues / Re: Sparx EA and Windows 10
« on: August 17, 2015, 05:21:38 pm »
Tried using the compatibility mode built into Win 10 to use Win 7 instead however the problem of crashes still happened.
Found when I transferred the project to another eap file or a feap file the problem goes away in the new copy.
Weird aye?

Bugs and Issues / Sparx EA and Windows 10
« on: August 17, 2015, 11:00:30 am »
Just been trying out Sparx EA(Buid 1215) on Windows 10 Home Edition.  In a particular model (.eap file) I've found I can reliably crash Sparx EA when clicking on certain packages (yet not all packages). Tried doing the same thing with the same model on Win 7 Pro without any crashes.
Anyone else tried Win 10 and had similar problems?

Bugs and Issues / Re: Dashboard: charts are put on top of each other
« on: August 19, 2015, 08:34:54 am »
I can move dashboards okay and place them anywhere on the diagram. Using V12 Build 1215. Haven't experience that problem you describe with earlier versions but can't say for sure whether I've used 1207.
Try moving the dashboards via another means like key board ctl/shift + arrow keys.

Bugs and Issues / Re: decoration feature doesn't work in Shape Scrip
« on: July 14, 2015, 06:05:11 pm »
My decorations seem to work okay. Here is some example code
Code: [Select]
// Archimate Data Object - Extension for message and database
shape main
      shape padding
      shape name

decoration icon
                  if (hastag("Type","Database"))
                  else if (hastag("Type","Message"))

decoration composite

Pages: 1 ... 25 26 [27] 28 29 ... 35