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 - Paolo F Cantoni

Pages: [1] 2 3 ... 406
1
(Re-)Install V13.5. Rename the program folder from EA to EA13.5. Install V14. You can launch V13.5 directly from program files/EA13.5/EA.exe

The same way you can keep as many EA versions as you want.

q.
We also take the precaution of renaming the .exe we don't want to be the "default" to something other than EA.exe.

We also sometimes use multiple instances of the same version to help with our large overnight processing tasks - each .exe has it's own name so we can figure out who's doing what.

Paolo

2
We end up with this more often than needed. But EA's way to handle free stereotypes (not associated with any Technology) causes an entry to be added in local model for anything that EA identifies as a mismatch to the list of available MDGs
As a routine check, the first thing in resolving any anomaly is to remove these auto-created local stereotypes.
As part of our "overnight" processing of our corporate repository, we have a background SQL query to find and remove those "local" stereotypes.

Paolo

3
For layouttype="border" there are two arguments: name and location. For other layout types, there are either one, three or five arguments: name, width, height, X position, Y position.
Could you please get the help and editor tooltips updated to reflect that, please?

Paolo

4
General Board / Re: Glossary plural terms
« on: May 11, 2018, 03:45:00 pm »
The best way EA could handle this in the future is to model the glossary using an ontology definition profile. EA could then query the model itself for the glossary terms to highlight and the definitions to display.
+100

But first, ask us what we think we might need.  Or even how we envision the solution.

FWIW, as you know, I've had nearly a decade of creating and using ontological models in Sparx EA.  I'm sure there are other users with similar experience and we could "Crowdsource" the requirements / envisioned solution.  I say envisioned because Sparx is the owner of the actual solution, but in communicating our thoughts, the specification of an envisioned solution may help clarify matters.

Paolo

5

Geert is of course correct.
Yes, but he's not a Sparxian. I, too, have used the syntax he mentioned for many years, but I was secretly hoping there were more syntaxes where one could combine the location and sizing.

Paolo

6
I read it like:

This requires an additional argument to the addsubshape method

And indeed we see

   addsubshape("triangle","center");
   addsubshape("name","s");


That must be it no?

Geert
No, the description is technically ambiguous I could read it that way, but I could (reasonably) read it differently.  The absence of a formal syntax for that use case in BOTH the help system and the tooltip, makes it even more so.

FWIW, exactly such an ambiguity is what started me on this "modelling lark" four decades ago!  (Blame it all on James Martin)

Paolo

7
General Board / Re: How to update profile
« on: May 10, 2018, 11:00:18 am »
Yeah. If you post a lot of nonsense like me, you soon become a guru. Well, I once complained in the old forum where they made me God - yuck. This level/karma stuff here is completely weird.

q.
In the good old days, Q, you may recall I became an EA Guru by posting 500 bugs!

Paolo

8
Yes, I was aware of that syntax, but is that ALL you can do with it?  This hinges on the word "additional".  If this was the only variant for layouttype=border, I'd have expected different.  Additional normally implies in addition to.

That's my question.

Paolo

9
General Board / Re: Glossary plural terms
« on: May 10, 2018, 10:21:11 am »
Now you've lost me (probably my bad).  Can you specify how exactly the RegEx would be used?  I didn't think it would be for the definitions.

Well I assumed that something like

Code: [Select]
voice|voice|vox|voces
would be used to link to an entry voice for the word, its plural and any synonyms.

By an exception that proves the rule I assumed you meant something like your glossary doesn't define "voice" as "a particular opinion" in addition to its other meanings.
No, I meant that each set of variants couldn't be managed by a RegEx.  The problem of multiple meanings for the same word is a different one.

As I said, one can certainly use RegExs to start the process, but they aren't enough.

Paolo

10
From the help...

To set the layout type you use the layoutType attribute, which must be set in the initialization attributes section of the script; in other words, before any of the methods are called. Valid values for this attribute are:

  • LeftRight - Shapes with this layout position the sub-shapes side by side, with the first added on the left, and subsequent sub-shapes to the right
  • TopDown - Places the sub-shapes in a vertical arrangement, with the first sub-shape added to the top and subsequent sub-shapes added beneath
  • Border - This requires an additional argument to the addsubshape method to specify which region of the containing shape the sub-shape is to occupy: N, E, S, W or CENTER; each region can only be occupied by one sub-shape
    A sub-shape that is assigned to the E or W region must have its preferredwidth attribute specified in its declaration and, similarly, sub-shapes added to N or S must have their preferredheight attribute set; in this case, the values for these attributes are treated as static lengths and do not scale glyphs

Unfortunately, neither the Help file nor the editor tool-tip show the exact syntax to be used for the addsubshape method with layouttype=border

Can a Sparxian, please enlighten me?

Paolo

11
General Board / Re: Glossary plural terms
« on: May 09, 2018, 04:02:57 pm »
How would the RegEx be used?  I fear this might be a chimaera.  I can see RegExs populating a trial set of variants, but then - especially for a language like English - the output would need to be adjusted for the "Exceptions that prove the rule".  The adjusted output is what would be passed to EA.

Wouldn't an exception that proves the rule simply be just a missing definition?  Wouldn't having a missing definition be a case of ambiguity that you would want to fix rather than hide?
Now you've lost me (probably my bad).  Can you specify how exactly the RegEx would be used?  I didn't think it would be for the definitions.

Paolo

12
General Board / Re: Archimate shapes and composition
« on: May 09, 2018, 12:27:07 pm »
Hi Matthew,

If you search for "Visual Embedding" you might find some interesting discussions.

HTH,
Paolo

13
General Board / Re: Glossary plural terms
« on: May 09, 2018, 12:21:06 pm »
A more advanced implementation would allow the user to specify a (regular expression) pattern.

That's an interesting idea.  By extension, it would be useful to be able to import a specific glossary and an accompanying regex set.  I'm thinking for example of frameworks like FIBO.
How would the RegEx be used?  I fear this might be a chimaera.  I can see RegExs populating a trial set of variants, but then - especially for a language like English - the output would need to be adjusted for the "Exceptions that prove the rule".  The adjusted output is what would be passed to EA.

Paolo


14
General Board / Re: ConML
« on: May 09, 2018, 10:10:37 am »
"Plus sa change, plus la meme chose"

Interesting!  ConML reflects a lot of (my hero) Jean Raymond Abrial's seminal work of the 1970's "Data Semantics".  Semi-Associations (Abrial's "Access Functions"), The difference between Null (Nothing) and Unknown - which I have formalised into the concept of extrinsic values.  Links as relating instances of associations relating instances of classes.

A quick scan of the Specification leaves me with some ontological issues.  I think some things have been named incorrectly, but this may be due, in part, to translational issues.  A couple of things seem to be structurally anomalous.  But overall, a good start.

I think we should continue to discuss (and hopefully encourage Sparx provide an MDG).  Some of the concepts are already incorporated in our modelling environment (due, I guess, to my knowledge of Abrial's methodology).

I'm happy to discuss my views (no ironic responses please!  ;D), in order to better understand what the specification means and, where appropriate, incorporate aspects of the specification into our environment.

Paolo

15
Bugs and Issues / Re: V14 different browser order
« on: May 08, 2018, 05:17:50 pm »
Haven't tried on SQL repository. Order seems ok on eap file.
I did notice that the up and down arrows seem to be disabled in the project browser though.
I tried it on an .EAP (A2K) clone of the repository and it also has the problem.  Haven't touched this clone in weeks.

Another bug not reported yet seems specific to SQL Server.

Paolo

Pages: [1] 2 3 ... 406