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 ... 531 532 [533] 534 535 ... 622
7981
Automation Interface, Add-Ins and Tools / Re: List Context References
« on: June 28, 2014, 05:26:45 pm »
Well, there is a recent discussion about those. Actually these ARE based on connectors. You can prove that: create a UC and an Actor. Now create an association between both. The actor is shown in the list. Remove the connector. The actor vanishes. So this is simply a different rendering for a connector.

q.

P.S. http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1402492976
So indeed this is the 2nd time I hear from that. I DID know these, but it simply was placed in the outer rim of my brain. Probably because I knew from the beginning that they were just connector based renderings. Still the term is located in the outer rim. Perhaps the next time I'll as again: "what is that?"  ;)

7982
Automation Interface, Add-Ins and Tools / Re: List Context References
« on: June 28, 2014, 06:49:19 am »
Could you point me to where exactly that is documented? This is the first time I hear of such a reference.

q.

7983
Automation Interface, Add-Ins and Tools / Re: Database Sizing
« on: July 11, 2014, 06:50:03 am »
AFAIK there is nothing out of the box for that. There's an add-in called DBMode from Sparx Japan where I don't know its functionality.

Anyhow I guess you could write up your own script to do that calculation. Should probably not be too difficult.

q.

7984
Using come of the Cxx languages you may create an own dialogue window which can be used to interact with the user. I'm not sure whether JScript will allow to use that (most likely it won't).

q.

7985
Automation Interface, Add-Ins and Tools / Re: Tagged Values
« on: July 12, 2014, 02:38:08 am »
Quote
Is it possible to specify that a given tagged value MUST have a value ? In my specific case as default will not suffice.
AFAIK if you set a default and you have a drop down there is no way to change to something empty.

Else I agree to what Helmut said.

q.

7986
Automation Interface, Add-Ins and Tools / Re: Cloning of an element
« on: July 11, 2014, 05:10:00 am »
Yes, Helmut. One never stops learning :-)

I'd wish the API designer(s) from Sparx would have taken the design more seriously and created a Clone, Delete (and whatever) method for each thing (be it element, package or connector) in EA. The current design is simply poor :( I have seen worse designs, but that's no excuse.

q.

7987
Automation Interface, Add-Ins and Tools / Re: Cloning of an element
« on: July 11, 2014, 12:50:41 am »
There is a Repos.Clone method (IIRC) for packages.

q.

7988
Automation Interface, Add-Ins and Tools / Re: Generic Database Query
« on: July 11, 2014, 08:01:08 pm »
Quote
Hi,

as far as I remember is the connection string good for non JET databases. The problems are *.eap shortcuts.

As far as I remember you don't have this problem with repository.RepositoryType().

Helmut
You are right. Now it comes to my mind that before introducing the RepositoryType one needed to look at the file size if it was an EAP and if smaller than 1M assuming it was a shortcut. Then you could read the contents and find the real connection string.

q.

7989
Automation Interface, Add-Ins and Tools / Re: Generic Database Query
« on: July 10, 2014, 06:23:30 pm »
Quote
Quote
It looks like I should once again go through the API to find out what it new (to me).

q.

7990
Automation Interface, Add-Ins and Tools / Re: Generic Database Query
« on: July 09, 2014, 10:13:25 pm »
See above :-)

q.

7991
Automation Interface, Add-Ins and Tools / Re: Generic Database Query
« on: July 09, 2014, 10:09:31 pm »
You can also run such a user defined query from within the API. Still off-site, so you need to check the help yourself. It's either in Repository or in ProjectInterface.

You'd need to raise a feature request if you want to run such a #-query on the fly from automation.

Figuring out the #WC# is not too difficult after all. Just check the ConnectionString and have a table according to the found RDBMS.

q.

7992
I simply use the registry key for my add-in. There you can place new strings as you wish.

q.

7993
No. YOu can't link any attributes in other stereotypes. Just use a naming convention and create simple attributes in your stereotype which will result in simple tagged values.

q.

7994
Glad you found it. And of course it's a text element, not a note  :)

q.

7995
I'm of-site currently. So out of my head: you need to create a note element and assign some magic to it. You can find out that by creating an empty EAP, adding a note and a hyperlink and run a search on t_object to see the difference between simple note and hyperlink.

q.

Pages: 1 ... 531 532 [533] 534 535 ... 622