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 [4] 5 6 ... 391
General Board / Re: Relationship Matrix - hide empty "source"
« on: October 20, 2017, 10:46:59 am »
Can I create a relationship matrix where the rows displayed for source are only those where a relationship exists to one of the targets?

Alternatively can I only show source and target where a relationship exists?
Just make the selection query MORE selective, only include those items with existing relationships.   But that's the "scenic" route, considering it should be a display option.

Pop in a Feature request!  It has my support!


I guess that is the reason why they developed the profile helper.
I'm lucky as I never had to work without it, so I never payed much attention to the actual resulting attributes.

I teach people to use it because rolling it all by hand you're much more prone to simple errors (such as spelling), especially if you fall somewhere on the dyslexia/dyscalculia spectrum.
It's not the simple errors that get you, but the silent failing that doesn't tell you where you made the simple error


Bugs and Issues / Re: Bug when copying package
« on: October 19, 2017, 05:40:06 pm »

It wasn't clear from the original post if it was JUST Generalization that has the problem.  If so, then it's a bug (as probably is demonstrated by your workaround).  ;D


General Board / Re: Non-visual associations
« on: October 19, 2017, 05:32:37 pm »
Is there a way to establish a relationship, without "drawing the lines", i.e. can I connect an Application to the Server it runs on, without placing either on a diagram and connecting them?

You can connect them visually and then hide the connection.  I generally have a messy diagram with all connections and a clean diagram with just relevant connections, as I like to always be able to see the connection somewhere.
Yes, it is important to be consistent about relationships.  There shouldn't be two kinds of relationships - those expressed by "magic" and those expressed visually.  We create visualisations for our "magic" relationships but hide them by default.

We have even gone to the extent of placing a special widget on diagrams with hidden relationships to warn that you are NOT seeing the "full story".  The widget is managed by automation.


Bugs and Issues / Re: Bug when copying package
« on: October 19, 2017, 10:44:48 am »
When copying a package you can get nasty side effect if other classes are depending on classes in the copied package.
E.g. classes in other packages that have a generalization to classes being copied now have two generalizations. One to the original, and one to the copied class.



Well, from an absolute conceptual point of view, that may not be a bug.  I could be argued that it's up to the modeller to determine which of the two the dependent element should generalize.


BTW what's the reason to have multiple items representing the same element on a diagram?

There is as much design that goes into a creating a view as goes into the underlying model.  There's a direct relationship between the number of times connectors cross and the difficulty in understanding what the view is trying to tell the viewer.

Sometimes you want the same element in different places on the page to untangle the birds nest.
You may also have views that have NO relationships visible but use with visual embedding or other similar techniques to indicate relationships.  In such cases, having multiple instances is appropriate.

One of the problems with UML is that (originally) it barely mentioned diagrams they weren't even third-class citizens, but undocumented illegal immigrants.   ;)  Since then, as Glassboy has pointed out, we have discovered that they are very productive members of the community. 

The issue for diagrams is that if printed out, you can't tell whether to objects on the diagram are the same object or two separate objects with the same name. 

The virtualised connector end goes some way to alleviating this since it is a formal mechanism for placing the doppelganger into the diagram.  Initially, the doppelganger was visually distinct (to the point where you couldn't tell it was the same thing!).  In later versions, increasing control over the visuals has been made available, but not enough.  What is actually needed is that a true doppelganger is as fully visually configurable as the master, but with a decoration to indicate that it is, in fact, a doppelganger.


When you define a model search you are able to return an alias ‘name’ which could be a ‘concat’ of several strings. Especially for unnamed elements, one can add e.g. type/classifiers to that name to provide some context.
Unfortunately the relationship matrix uses the real name of the elements and not was is returned by the model search. This makes the relationship matrix for unnamed elements useless.
So please provide a way that rows and columns can use data returned from the model search to be displayed.
Didn't realise that!   +5


Bugs and Issues / Re: EA clear the file. Now 's empty 0Ko
« on: October 13, 2017, 05:34:57 pm »

(argumentum ad ignorantiam)
And it's Friday the 13th!


Bugs and Issues / Urgent! Repository.GetConnectorByID fails!
« on: October 12, 2017, 04:39:44 pm »
I'm using a VBA library I've used for nearly a decade to process repositories (both EAP and SQL Server) with Excel.  Today for the first time in a while I tried to use Repository.GetConnectorByID().  It failed to return the requested Connector!  The connector exists and is confirmed by the fact that Repository.GetConnectorByGuid() with the correct GUID will return the connector with the correct ID!

Can anyone reproduce?  This is on an Access 2000 repository - because I'm off-line and can't access the corporate SQL Server repository.

Integrity Checker says there are NO problems.


I've used phase to indicate which phase the requirements should be implemented in. You can then add a filter in the doc gen template to only include requirements, usecases etc for a particular phase. Now the trick is to use the "one of..." option on the element filter so that for phase 2 you include phase 1 as well 2. For example  "1.0,2.0" - can't remember if that is the correction format comma separated values or whether its semi-colons or something else but I think you get the idea.
As I discovered, you need to separate the values by the appropriate quote character for your DB, this for SQL Server it would be: '1.0','2.0'


If a Matrix Profile is specified as part of a Project Shortcut file ($matrix://<Profile Name>),  when the matrix opens, the profile name Is NOT in the Profile: dropdown.


We use the copy path to clipboard functionality in the Project Browser quite a lot to point each other at items in the browser we want to notify others about.  However, for items in the Resources Window [[Start | Show | Windows| Resources]].  Should it be possible?

Before I submit a feature request, I thought I'd get others' thoughts.


When switching to Rectangular Notation, the shapescript will ignore the existing diagram object sizing (especially if larger than the default) and reset to the default size specified for Rectangular Notation.

If object sizing is  Ox×Oy and the default non-Rectangular (Icon) Notation sizing is Ix×Iy and the Rectangular Notation sizing is Rx×Ry, then it could be argued that if at the switchover, if Ox = Ix and Oy = Iy, then they should be switched to Rx and Ry respectively.  However, if they are not the default values, then the object sizing should remain Ox×Oy.

My user found it quite annoying that where they had large object sizes, typically encompassing other objects, on switchover, the sizing became very small and they had to resize.


Sure but is it that hard to make a stub in a package that opens up what is currently called a "relationship matrix profile"?

You mean like a Matrix Specification Artifact?
NO he probably doesn't.  He probably means a matrix profile (the term he used) - found on the resources tab.  Two (as the Singaporeans say:  "Same, Same, but Different") approaches to creating a Matrix "Diagram".

Concistency, konsistency, consistensy! TMUffe - after Paolo


Suggestions and Requests / Re: Model Search: More than one Search Term?
« on: October 03, 2017, 04:45:04 pm »
Maybe its because it is in the afternoon and I've just had a big lunch but I'm  missing something here as I thought the query builder provided multiple <search terms>.
It's the long lunch!  ;)   Sparx have submitted a Feature Request for more than one <Search Term>


Pages: 1 2 3 [4] 5 6 ... 391