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 ... 530 531 [532] 533 534 ... 603
7966
The mid label is defined to display the name of the connector (EaConnector.Name). You can change that via a shape script.

q.

7967
I can't answer your question but would like to ask whether you know exactly what you're doing when using a generalization with use cases. From all I have read about that (and from my experience too) a generalization for UCs should be avoided. Each UC should be unique and return some value to its primary actor. So what would a generalized UC mean?

q.

7968
No. You can't modify the parser for build-in languages. Report a bug (bottom right of this page) and use a pre-processor externally in the meantime.

q.

7969
Automation Interface, Add-Ins and Tools / Re: Delete a connector
« on: February 08, 2014, 09:04:13 am »
I'm not sure whether the collector iterator has the same order as your index. So I'd prefer to use GetAt to be sure that index and element to be deleted match.


Further you don't need the refresh and update methods. You should only call Connectors.Refresh AFTER the whole loop.

q.

P.S. I just recognized that I did not really explain Delete in my Scripting book. I shall add that...

7970
I guess they just opened access to the BNF-based syntax description for RE which you can also use since V10. There's only that one guy from Sweden here on the forum that actively posts on that topic.

q.

7971
You can modify the code generation macros for your needs. Cumbersome since you don't have a good guide to explain Sparx' proprietary macro language.

q.

7972
Automation Interface, Add-Ins and Tools / Re: Tagged values names
« on: February 10, 2014, 03:22:50 am »
Instance = Classifier in the API

Perhaps the documentation is incomplete wrt. TimeLine.

q.

7973
Automation Interface, Add-Ins and Tools / Re: Tagged values names
« on: February 07, 2014, 01:35:57 am »
Do you mean the value displayed where below picture shows Class?



q.

7974
Automation Interface, Add-Ins and Tools / Re: Tagged values names
« on: February 07, 2014, 01:08:35 am »
Can you post an image? There is no specific element display in the tagged values. Or maybe you explain the steps so we can see which TV you refer to.

q.

7975
Automation Interface, Add-Ins and Tools / Re: Tagged values names
« on: February 06, 2014, 08:49:40 pm »
If you mean the drop down in the attributes: they are hard coded and not to be found in any table.

q.

7976
Automation Interface, Add-Ins and Tools / Re: Tagged values names
« on: February 05, 2014, 08:45:50 pm »
Tagged values of what? There are different tables for different kinds of TVs.

q.

7977
Automation Interface, Add-Ins and Tools / Re: debugging addins
« on: February 07, 2014, 10:30:51 pm »
I always use the famous print statement to debug my add-ins. I also have a framework to run the add-in code externally. I simulate the GetTreeSelectedObject by a wrapper to supply a dedicated element.

q.

7978
Try Repository.EnsureOutputVisible

There is no EA-support for a meter. You would need to write that on your own. Likely it's not that easy with JScript, but I'm just guessing here.

q.

7979
Automation Interface, Add-Ins and Tools / Re: Reverse engineering
« on: February 05, 2014, 03:26:44 am »
I doubt this would be possible with any tool at all. How would you steer runtime behavior so it matches the samples shown in a sequence diagram? You would need some test framework that leads your code through the path. Then you could advise EA to create a sequence diagram. But then it's up to you to compare design and as-is.

q.

7980
Quote
It's not a diagram, but while it is active there is no active diagram. (Call it a bug if you like, [highlight]but it's not one[/highlight])
You're right. It's more than one.

q.

Pages: 1 ... 530 531 [532] 533 534 ... 603