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 ... 4 5 [6] 7 8 ... 512
76
General Board / Re: Plugin of Script?
« on: October 18, 2017, 04:32:03 pm »
If you are only looking for an context menu then scripting alone will suffice.
You simply have to put your script in an group of the appropriate type, and your script will show up as a context menu item where you need it.

If on the other hand you want to automatically do something as a reaction to one of the events in EA (such as after creating a new element, opening a diagram, etc...) then you need an add-in.

EA-Matic is an add-in that will forward all of the event to the scripting environment, automatically executing scripts at the events you choose.

Geert

77
Hi Marc,

I'm afraid it's going to be either scripting or SQL. In this case I think it would be easier with scripting then it would be with SQL.

Geert

78
General Board / Re: Exporting a model to HTML
« on: October 17, 2017, 02:57:47 pm »
Yes, you can edit the CSS files for the HTML export allowing you to specify looks and stuff like that.

Geert

79
This is really a UML question, not a tool question.  I don't think it makes sense in UML to have multiple instances of the same classifier in a diagram, and if absolutely-positively need to, the correct way to do it is with a generalization (duplicate element IS-A original element).  EA implements the UML standard correctly by not allowing 2 of same classifiers in a diagram. 

I'm pretty sure there's nothing in the UML specs that says you can't put an element on a diagram twice.
In fact UML says very little about what you can or can't do on diagram.

But I don't understand your point about generalization. If I wanted to put a an action on a diagram twice, how could generalization help me? I don't even think generalization is allowed between Actions.

Geert

80
Since version 12 or 13 there is something called virtual connector ends that sortof kinda does this in a bit weird and Sparxian way.

See http://sparxsystems.com/enterprise_architect_user_guide/13.5/modeling_tools/virtual_routing.html for more info.

Geert


81
Peter,

Are you using the profile helper or are you manually editing the attributes of your stereotype?
I found that a lot of these issues can be avoided by using the profile helper.

Geert

82
General Board / Re: Setting defaults for Attribute Visibility
« on: October 12, 2017, 02:34:29 pm »
Also try the template package.
I think that will allow you to set the default for "show notes".

Geert

83
General Board / Re: Web link to be open in new tab
« on: October 10, 2017, 11:31:54 pm »
There's a good chance that this will work if you can get it into the database somehow, but I don't see that happening without something of a script.

Geert

84
Bugs and Issues / Re: EA clear the file. Now 's empty 0Ko
« on: October 10, 2017, 12:00:09 am »
I've never seen or heard anything like that, so it seems unlikely to me that EA is the culprit.

But with a case like this I would contact Sparx support. Maybe they can shed some light on this.
I don't think however they can magically bring back your model, so I hope you still have a backup.

Geert

85
Automation Interface, Add-Ins and Tools / Re: Add-in Usage with Citrix
« on: October 07, 2017, 11:35:24 pm »
EA works with Citrix, and you can get add-ins to work on Citrix as well, but not without a struggle.

I'm not sure why, but when installing something on a Citrix environment the registry keys seem to be forgotten by the system.
Last time I had to get the Citrix guy to set all registry settings in the login script.

Geert

86
Uffe, you're too kind.

I was indeed at the EA User Group event in Brussels today, and it just so happens that I did a training yesterday on the first day about "Advanced document generation using the standard RTF templates".

The way I do this type of thing is basically :
- Lots of small manageable templates and fragment (mainly SQL, and if need be script fragments)
- Virtual document to glue all the parts together
- Create the virtual document with a script.

Basically the script is the only thing that has to know how to build the document structure based on a starting point (diagram, element, package,...)

More info and a working EA example can be found here: https://bellekens.com/2015/11/12/tutorial-generate-complex-documents-from-enterprise-architect-with-a-two-step-semi-automated-approach/

Geert

87
You can put it in fragment and then set a filter on the fragment.

With regular script or SQL fragment you can't output diagram images.

Geert

88
Confirmed as a bug and awaiting fixing.

Geert

89
Exporting and importing table and columns (elements and attributes) is fairly easy to implement yourself.

I made an excel with some VBA to import classes and attributes. This excel also exports tagged values, so it should be fairly simple to add a feature to export table and columns.

You can find my excel importer here:

https://bellekens.com/2015/10/24/simple-vba-excel-to-ea-importer-v4/

The import DDL issue has been discussed a few times here. The response from Sparx was every time that they are not interested in investing to develop such a feature as it would need to be different for each target SQL dialect.
If you really really want to you can create your own reverse engineering templates using some kind of BNF notation, but from what I understood that is far from easy.

Geert

90
If nobody of the users on this forum can help you, then you better send an email to Sparx support.

Geert

Pages: 1 ... 4 5 [6] 7 8 ... 512