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 - Geert Bellekens

Pages: 1 ... 474 475 [476] 477 478 ... 571
7126
Boron,

With add-ins you would have to distribute the new version to the different clients iso the different models.

You could of-course write an add-in to automatically update your scripts from a central location once you load a model...

Geert

7127
You can't.

Geert

7128
Automation Interface, Add-Ins and Tools / Re: Deploy add-in
« on: July 18, 2013, 03:51:55 pm »
Yes you can.

I've written a small tutorial about that:
Tutorial: Deploy your Enterprise Architect C# add-in with an MSI package

Geert

7129
Automation Interface, Add-Ins and Tools / Re: Virtual Diagram
« on: July 18, 2013, 06:06:19 pm »
I'm not convinced that a diagram is the best tool to use for such an effect.

But anyway, I think the best thing you can do is to actually create the diagram and delete it after use (e.g. on the OnCloseDiagram event)

Geert

7130
Automation Interface, Add-Ins and Tools / Re: Virtual Diagram
« on: July 18, 2013, 05:34:39 pm »
Stefan,

What do you want to do with this "Virtual Diagram"?

Geert

7131
No it isn't difficult.
You first need to setup your version control configuration.
The UniqueID is just a name you use to recognize later on, and the working copy path and subversion executable should be familiar.

Then you go to the packages you want to control and right click and select Package Control|Configure.

Either you do that one by one (start at the lowest level in that case) or you add a whole branch of you model using  "Add Branch to Version Control"

Geert

7132
You probably don't have the full set of menu options.
See View|Workspaces and Commands|Commands and select "Complete"

Geert

7133
Hi Simon,

I see your point.
If your interpretation is indeed correct (and I don't have any reasons to doubt that) then all the better.
That would mean our model is even more UML compliant then I thought :)

Geert

7134
Quote
I was curious and scanned through some of the latest Superstructures. But I was not able to find any reasonable definition for Tagged Values at all.

q.

I know. I remember to have found something that indicated that the name of a tagged values should be unique within an element, but I don't really know here exactly I found that information. The UML specification could be easier on that part. I guess it has to be in the profiles section somewhere (since tagged values can only exist within the context of a profile since UML v2.0)

Geert

7135
Having multiple values (separated by ";" or whatever) in a single tagged value surely is UML compliant.

Having multiple tagged values with the same name on a single element is not. (IIRC)

Geert

7136
You could add multiple tagged values of the same type to indicate the different values.

It wouldn't be UML compliant, but it would work.

Geert

7137
Quote
How do I reload a  diagram. Could not find the command.
There IS a search function is the help file you know. Try search for "reloaddiagram" :-?

As for the check you need to do, if you want to optimize it you'll have to an SQL query in Repository.SQLQuery().

Another think you might want to try it to copy all diagramObjects into a regular list/array,... and iterate that instead the of the EA.Collection Diagram.DiagramObjects

Some of the EA.Collection are not "in memory" objects, and they will query the database for each "next" in an iteration.

Geert




7138
Try reloading the diagram.

Geert

7139
Ah, right the lovely VB syntax, if its an object you need to SET it, if its a primitive you only need to "=" it.
Almost as funny as the question "when to use braces when calling a method" ::)

Geert

7140
Which line is giving you the error?

Geert

Pages: 1 ... 474 475 [476] 477 478 ... 571