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

Pages: 1 ... 533 534 [535] 536 537 ... 616
8011
Quote
In JScript, is there an equivalent of Repository.GetElementByID() for finding an element by Alias?
You even can't find by name since it is not unique (although there are some objects which offer that method).

If you want to search by Alias you will need to write a SQL and use either Repository.SQLQuery of .GetElementSet.

q.

8012
You can create an add-in with Python (and WSH - no idea if ActivePython offers the same feature as ActivePerl to create a DLL). But there's no native scripting engine for Python inside EA.

q.

8013
You could edit the original MDG in XMI format (it comes in the MDG folder of the EA program folder). It is possible to do that in little extend. You can not reverse engineer that file to work with EA <<profile>> packages. If you intend to make complicated/substantial changes you're better off with a new MDG that extend the BPMN profile.

q.

P.S. I haven't read the copyright notes, to be honest. But I guess as long as you do that inside your company you are more or less free to do what you want. YMMV

8014
Quote
Hello,

Two quesions please:

1. Why do you send three strings to the method?
    The method signature requires two arguments.

2. Why do you send a string as the first parameter? As far as I understand you ought to sent a repository, not a string.

Hope this help, please update.
The parameters are ok. See here: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1395652745/1#1

So it must be something else.

I once used it, but it's too long ago.

q.

8015
You should send an official feature request. Maybe if more people join in and you're lucky you will have a solution in a couple of years  :-X

q.

P.S. I don't know why Sparx does not offer a premium support which sponsors certain features to be realized more timely.

8016
Just file a bug report (link bottom right of this page). Likely you will not see a useable solution in the near future, but at least it should be brought to Sparx' attention.

q.

8017
I guess not. You might file this as bug since from my perspective the API should return error messages in a meaningful way. (Maybe I simply missed the way retrieve it.)

q.

8018
I just made a test with this issue. Conclusion: it's fixed with V11. In V10 the tags are not created, but in V11 they are. Time for an update.

q.

8019
The worst that could happen is that it's a bug indeed. The best would be they can tell you a work-around. So, yes.

Anyway (if I don't forget) I'll have a look Monday.

q.

8020
Strange. I thought they had changed that behavior with V10. But obviously not so for connectors. I'll take a deeper look next Monday (it's little holiday from 1st of May til Monday here).

q.

8021
btw: which version du you use?

q.

8022
Check Repository.SynchProfile (string Profile, string Stereotype)

q.

8023
I guess you would need to raise a feature request.

What you could do is to write an add-in that converts your stereotyped element (I guess you can't create text so you should make a Note element) and convert that on the fly after creation.

q.

8024
Doesn't EA have a build-in browser?

q.

8025
Not sure, but it depends on the setting of Require User Lock to Edit which reverses the meaning of a lock.

q.

Pages: 1 ... 533 534 [535] 536 537 ... 616