Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Viewpoints introduction in Papyrus

Hello all,

 

On Friday 14th we introduced in Papyrus the support for the definition of viewpoints, hence bringing a new customization feature to Papyrus. A viewpoints ca be regarded as a set of diagrams (and tables), selected and customized from the original Papyrus diagrams and table. Using this feature it is possible to define new diagrams through the reuse and the customization of the original ones.

 

A major change and advantage introduced by this feature has been the reduction of code related to the diagrams. The Package diagram, as well as all the RobotML diagrams (extras) are now entirely defined within the (simple) configuration of the default Papyrus viewpoint. The old code for these diagrams have therefore been removed. The Package diagram, for example, is now purely defined as a subset of the Class diagram.

You can take a look at the default viewpoint configuration in “plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration”.

 

In addition, a “Viewpoint Explorer” view has been added to Papyrus in order to easily see what are the available kinds of diagram and their properties in the current viewpoint.

 

Best regards,

Laurent


Back to the top