Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-rt-dev] Visuals of Inherited Ports on Parts

Is C supposed to be a port that Capsule3 inherits from some other capsule not shown here?

At first, I do agree that it would probably be easier if ports-on-a-part are "washed-out" according to the part's inheritance, i.e., D should be washed-out. If you need to redefine a port like D, you would do it in the capsule structure diagram for Capsule3, not the one shown here.

BTW, if Capsule2 is a subclass of Capsule1, I would expect a washed-out connector between A and D as well.

--
Ernesto Posse
Zeligsoft



On Mon, Nov 28, 2016 at 4:16 PM Christian Damus <give.a.damus@xxxxxxxxx> wrote:
Hi, Team,

I think I have a handle on how inherited ports and parts should look in capsule structure diagrams, but ports on parts present a bit of a quandary.  We want inherited elements to present in washed-out colours, which is easy enough.  viz. objects A and B in the attached screen grab.  This image shows the results of a naïve scheme in which all inherited ports are shown washed out, regardless of whether they are presented on a part shape or not.

For these ports on parts, I would like to survey the team and our users to see how they should be presented because I can see reasons for and against my own preference.  Consider object C in the diagram:  it doesn’t seem useful to me to distinguish inherited ports on a part shape because the part shape is not the primary context for editing these ports; that is what the capsule structure diagram of the capsule typing the part is for.  Conversely, looking at object D, I would be inclined to show this one in the washed-out colour because the part is inherited by the enclosing capsule, so indirectly the port on that part is inherited in this enclosing context.

So, my proposal is that all ports on a part should present the inheritance (or not) of the part, not their actual inheritance (or not) in the context of the capsule that is the part’s type.  So, in this example, C should be black and D should be grey.

Any contrary opinions?  Is there some nuance that I have overlooked?

Thanks,

Christian




_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev

JPEG image


Back to the top