[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] About deactivation of viewpoinst inside Papyrus

1. I see the point about wanting to also see the representations that are not in the current viewpoint. In order to do that, but still not clutter the UI, maybe such representations can be grouped under a submenu called "Inactive Representations" (or in model explorer, they can be grouped under a node called "Inactive Representations"). This will keep the main representation menu (or model explorer) small but also give the option to see the others.

Regarding with graying them out, I think you're talking about applying a gray style to them in the model explorer, which is OK. However, if you also present them in a menu, graying them out makes them not selectable (this is what I was talking about when I said how the user can select them if they are grayed out, i.e., disabled menu items). But if you grouped them in the menu under one submenu, as suggested above, then they can be selectable in the menu.

Maged


On Wed, Aug 28, 2019 at 8:53 AM TESSIER Patrick <Patrick.TESSIER@xxxxxx> wrote:

Hi Maged,

1.ÂÂÂÂÂ Wouldn't showing representations that are not in the active viewpoint grayed (points 1-3) still clutter the UI? How about hiding them?

This point has been indeed discussed internally. Feedbacks that we have, show that Model designers like to know that diagrams done in other view points exist. They have the already the possibility by do that by using welcome page. so we want in this case make homogeneous this fucntionality without decrease the perception of the model that he can has today.

2.ÂÂÂÂÂ If the representations that are not in the current viewpoint are grayed (or hidden), how would the user express "want to open" them such that Papyrus proposes to switch the viewpoint (point 5)? If they belong to multiple viewpoints, will Papyrus propose all relevant ones to switch to?

Â

This case is raised if diagram are not hidden. âwant to openâ is for example I double click on this diagram in the model explorer or shortcut. To avoid mistake we need to inform the model designer that if he want to see it, he must activate relevant viewpoint. And yes Papyrus shall to propose relevant viewpoints.

Â

Best Regards,

Patrick

Â

Â

Â

Â

DeÂ: mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de melaasar@xxxxxxxxx
EnvoyÃÂ: mercredi 28 aoÃt 2019 17:31
ÃÂ: Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
ObjetÂ: Re: [mdt-papyrus.dev] About deactivation of viewpoinst inside Papyrus

Â

A couple of questions:

Â

1. Wouldn't showing representations that are not in the active viewpoint grayed (points 1-3) still clutter the UI? How about hiding them?

2. If the representations that are not in the current viewpoint are grayed (or hidden), how would the user express "want to open" them such that Papyrus proposes to switch the viewpoint (point 5)? If they belong to multiple viewpoints, will Papyrus propose all relevant ones to switch to?

Â

Maged

Â

On Wed, Aug 28, 2019 at 3:05 AM TESSIER Patrick <Patrick.TESSIER@xxxxxx> wrote:

Hi everyones,

Â

We noticed inconsistencies when deactivating a viewpoint in a given context. Activation is not a problem.

We propose the specification of the behavior of a deactivation of a viewpoint for the next release of papyrus.

Â

Warning, this is not a specification of a context switch inside architecture framework. It is much more complex and impacting and need also to be specified.

If you have comments, they are welcome.

Â

Viewpoint deactivation

1.ÂÂÂÂÂÂ Invariant

ÂÂÂÂÂÂÂÂÂ Language

oÂÂÂ Profiles are applied

oÂÂÂ ElementTypes are active

oÂÂÂ Graphical element types are active

oÂÂÂ New child

2.ÂÂÂÂÂ Difference

ÂÂÂÂÂÂÂÂÂ List of Âpossible tables/diagrams are not the same

3.ÂÂÂÂÂ Which behavior

ÂÂÂÂÂÂÂÂÂ Diagrams, Tables that are not listed in active viewpoint shall be visible in ModelExplorer with grayed icon.

ÂÂÂÂÂÂÂÂÂ Diagrams, Tables that are not listed in active viewpoint shall be visible in WelcomePage with grayed icon.

ÂÂÂÂÂÂÂÂÂ Diagrams, Tables that are not listed in active viewpoint shall be visible Hyperlink (and table of diagrams) with grayed icon .

ÂÂÂÂÂÂÂÂÂ Model user shall not be able to open the Diagrams, Tables that are not listed in active viewpoint.

 When Model user want to open Diagrams, Tables that are not listed in active viewpoint, papyrus shall propose to the model user to Âactivate the viewpoint that list wanted diagrams or tables.

ÂÂÂÂÂÂÂÂÂ When the model user deactivates a viewpoint, papyrus shall close diagrams /table corresponding to this deactivated viewpoint Â

ÂÂÂÂÂÂÂÂÂ When the model user deactivates a viewpoint, papyrus shall refresh Menu new diagram/table corresponding to this activate viewpoint

Â

Papyrus Team

Â

Â

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

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