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 - Modesto Vega

Pages: 1 ... 3 4 [5] 6 7 ... 11
You are missing the MDG Technology Builder MDG technology.

What do you exactly mean? I am using a Coporate edition and have an option under Tools called Generate MDG Technology File which does virtually nothing, of course I might have forgotten how to use it.

2) 3) you can extend existing profiles. See, you cannot change existing profiles.
Somehow I sense this is not as straight forward as it may sound. The help in the above link reads:
In the Project Browser, locate the Package with the <<profile>> Stereotype and open its child diagram.

If you do not have an existing <<profile>> Package, use the 'MDG Technology Builder' option in the Model Wizard to create a new technology, then open the diagram from the newly created <<profile>> Package.
But I, of course, cannot see a 'MDG Technology Builder' on my Model Wizard. What am I missing here?

Thanks to all for the replies.
I suspect "here be dragons". 

I'm not sure we're necessarily understanding what the OP is asking.

But, assuming it's:  "I've created my own MDG and I want to apply it to an existing repository", I suspect q's point about dragging and dropping the new element type over the old element type MANUALLY is the best option as (hopefully) Sparx have (behind the scene) executed the use cases involved.

Trying to do it via scripts (especially if you're not familiar with EA's internals) could e a recipe for disaster.  Making sure "all the i's are crossed and t's dotted" :) is not trivial.  It's not rocket science, but not trivial.

We are evolving multiple MDGs into one while the repository is "in flight" and it's doable, but there's a lot of "balls to keep in the air".  We have nearly 80,000 items so, manual is not possible.

- There is an EA meta model
- The meta model has not been exported to an MDG because it is not complete, I will rather include changes to existing profiles
- Points 1, 2, and 3 on my OP refer to the creation of the meta model
- Point 4 applies to applying an evolving meta model, possibly using an MDG, to an exisitng "in flight" repository. Doing this manually is not very realistic becuase of the number of elements in the repository

I am developing a meta model and would like to apply it to an existing model. I would appreciate some advice tegarding the following;

1) How do I apply the meta model to an existing project?
2) How can I include existing profiles into the meta model (aka Database Engineering)?
3) How do I customise existing profiles (aka Database Engineering)?
4) How can I get this done iteratively? I have version 0.5 of the meta model but I strongly suspect that quite a number of elements will be added to the meta model overtime?

The project is stored in a SQL Server database repository.

General Board / Re: Class without relationships
« on: March 19, 2016, 03:53:30 am »
There isn't really a script that does what you need, but I have open sourced all of my scripts here:

Also look at the EAScriptLib MDG technology and the samples provided by Sparx.

Thanks Geert very useful.

General Board / Has EA 12.0.1215 has trouble printing A2 to PDF?
« on: March 10, 2016, 03:53:28 am »
Does anybody know if EA 12.0.1215 has trouble printing A2 to PDF? A3 works fine what when printing an A2 to PDF EA does not print the full connector lines, it whites out part of the connectors.

General Board / Re: Class without relationships
« on: March 10, 2016, 02:21:09 am »
Not OOTB, but you could of course write a little script to do that.

Or a query which looks for elements in t_object which have count 0 for their object_id in either end of t_connector.


P.S. Try
Code: [Select]
SELECT * from t_object o WHERE (select count(c.Start_Object_ID) from t_connector c where c.Start_Object_ID = o.Object_ID) = 0 AND (select count(c.End_Object_ID) from t_connector c where c.End_Object_ID = o.Object_ID) = 0You might wish to reduce to certain object types.
Thanks to both, where can I find an example of how to do this with a script?

General Board / Class without relationships
« on: March 05, 2016, 01:48:25 am »
Is there a way to automatically higlight (change its colour) classes in diagram without relationships to any other classes?

General Board / Re: Baselines
« on: March 02, 2016, 01:10:32 am »
But a view people unfortunately are forced to be interested in the past as well.

We baseline some well-defined higher level packages (requirements package, architecture package,…). Those packages can have deep package levels underneath but element references (classifiers, associations,..) are only allowed to a defined set of other “higher level packages.
The baselines are used to prove what state of the packaged was e.g. verified and to analyze what has changed, because we have to provide change details, once a product is shipped (safety related stuff).

Another use case is to baseline “the View Package” where all our stuff of a certain system level is in. This is because we have “another View Package” where shared model stuff is in (some kind of read only Library).
Before we update to a new Library version, we baseline “the view Package” and the current “another View Package (LIB)” (just to be able to go back in case of disaster), afterwards we switch to the new Library Version and then we restore the baseline of “the view Package” we created shortly before. By doing so, associations added from our model to the old library version will be kept (hopefully in any future version of EA).

Thanks Peter I will explore and feedback on this thread.

General Board / Re: Baselines
« on: March 02, 2016, 01:09:25 am »

A model represents a current view about a system, i.e. how people think it should develop in the future. Baselines are about the past. Nobody is interested in the past state of a system. So what could a baseline be used for? I can imagine only one use case: "Uh! We ran into the wrong direction the last months. Let's start over from this and that baseline". If you have the money to independently branch a baseline and develop those lines to finally select the best one (remember "A Novel About Project Management." by Tom DeMarco?) that would be also a use. But that's fiction.

Baselines are not just about the past, they are also about the future. If you have an As Is architecture to be transformed into a To Be architecture. The As Is architecture is a baseline as they will be any intermediate architectures before the Target architecture is reached.
In this respect a baseline is essential to understand the impact changes are going to have in the baseline.

General Board / Re: ModelView column width
« on: March 01, 2016, 10:00:25 pm »
If you are referring to the model view on the dashboard toolbox then yes. Right click on the model view in the diagram and select 'Edit List View' then you can change width. After that right click and click 'exit edit mode'.

Hope that helps
I was indeed referring to the model view on the dashboard toolbox and this is the answer I was looking for. Thanks for your help.  :)

General Board / Re: Baselines
« on: March 01, 2016, 09:51:52 pm »
What do you mean with how to manage package baselines?
What menu items you have to press, or what are package baselines typically used for and on which package level,?
Not too worried about menu items, I am after best practice guidance: how to structure a complex project? how many pacakges? any issues with using packages within packages? how to lock previous baselines? and so on.

General Board / Baselines
« on: February 25, 2016, 02:59:34 am »
Could somebody please point in the direction of some good resources on how to manage Package Baselines?


General Board / ModelView column width
« on: February 24, 2016, 03:03:32 am »
Is it possible to change the width of the columns on a ModelView? If so, how?

General Board / Re: Class Diagrams: Association End Owned by a Class
« on: February 03, 2016, 08:36:33 pm »
Not entirely sure what you are trying to achieve with this, if you have a class called Person with 3 attributes: Fist Name, Last Name and Date of Birth. Are you trying to display this class in a diagram with 4 boxes - 1 Person, 2 First Name, 3 Last Name, and 4 Date of Birth - and an 4 associations between boxes 1 (Person) and boxes 2, 3 and 4 (with a dot at the end)?

AFIK, the only way to do this with EA is to create 4 classes: Person, First Name, Last Name and Date of Birth. AFIK, there is no way to achieve this with a single class.

It will be nice to be able to do it.

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