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

Pages: [1]
1
Thanks all...great news.

Of course, I asked the question prior to running it through my SQL  tool; assumed that the output via the search, I ran exact SQL that Sunshine mentioned. I mean, why would anything on the result set change (joking).

Eric

2
Hi all...we're thinking of implementing a simple ("?") MDG to add some extensions to elements.

In my testing, I noticed that when I create a class based on the metaclass in the MDG, it's object type on t_objects changed to the stereotype name used.

Is there any way to query t_objects, joining to some other table, which can give me the base class that the object type is an extension of? Searched almost every table, and didn't find anything.

Thanks in advance...Eric

3
ty

4
ty...so the only way is through Right click->Specialize->"Custom whatever I want"

Not Right Click->"Custom whatever I want"

Saw that, was just wondering why "specialize" necessary. Shouldn't be a problem, though, as long as I document it ;)

E

5
Hi all,

Just starting to read up on add-ins concepts; receptors, events, etc. etc.

There seems to be a "EA_OnContextItemDoubleClicked"...awesome. But can't seem to find an equivalent that would be called (hopefully):
"EA_OnContextItemRightClicked"

No such beast?

TIA...Eric

6
Thanks Geert,

It seems as if when I did that control arrow, I was prompet with a message saying that there was a custom ordering, so I removed it. I then tried again, and it prompted me to change the default ordering to something other than the default alphabetical sorting.

After doing that, it seems as if the Pos values were not changed at all, and ordering by pos <> ordering by name, for the class I changed.

Go figure...believe me, Sparx EA isn't the only software that has these quirks. At my last place, which was using Powerdesigner, we actually had to add a bunch of user defined attributes, in order to allow the automation scripting to not mangle certain things that a physical database needs to know about.

I will take this back to the group, and we'll act accordingly.

Thanks again...Eric

7
Hi all,

I am automating some things in order for our modeling group to easily check standards, etc., as well as generating metadata for our downstream consumers.

I have noticed in my travels in the object API, and SQL statements into the model metadata, that there are duplicate values for a given class, in regards to the "Pos" attribute.

I have an inkling as to how they got in there, but was curious whether this issue will cause other issues for us in the future, so that I can plan accordingly for a cleanup exercise.

Funny, but in the UI, there doesn't seem to be any place to specify the Position of an attribute on the class; the clean up would have to involve some form of export and reimport with the values cleaned.

I guess the bottom line question I have is whether this issue will cause future issues, other than downstream consumers wondering how/why the exported values are duplicated?

Thanks in advance...

Eric

Pages: [1]