Category Archives: Papyrus

Under the Hood of Papyrus 1.1

This is the last installment of the “What’s New in Papyrus 1.1” series of blog entries.

In this last one, I’ll address the need of my toolsmiths by talking about internal improvements!

Under the hood

Element Types Configuration

You can now define in a central place all the actions on your model, e.g. the creation, the deletion and the edition of the elements. You can reuse these action definitions in the model explorer, the palettes, the modeling assistants, etc.

Diagram Expansion

The existing diagram definitions can now be extended using Diagram Expansion framework. This framework let you add any kind of representation to existing ones, like new custom compartments for classifiers representations. This new feature is used for both the incoming support of SysML1.4 in Papyrus and for the upcoming Papyrus-RT project.

Test and debug

More than 400 bugs were closed since January 2014 for the 1.1.0 version. Also, more than 10000 unit tests run every night against Papyrus builds!

That’s it. I think it was a great release!

And if you want t link to all the information from the last three days, it is available on the Papyrus website!

Now go forth and model!

 

Advertisements

What’s Improved in Papyrus 1.1

Welcome back to part two of “What’s New in Papyrus 1.1”!

Yesterday, I talked about the new functionality, today, I will present you with existing functionality that is improved.

Papyrus 1.1 Improvements

Figure customization and custom shape support in all diagrams

Papyrus diagrams now rely on one highly customizable figure that can be parametrized either through CSS or by using the extra advanced appearance property view. All diagrams also support the shapes framework, allowing you to define your own representation for your language in any UML standard diagram, like activity diagram!

Figure customization and custom shape support in all diagrams

 

 Activity Diagram

The activity diagram now provide a better user experience. It has been modernized to support all new Papyrus features, including better stereotype support and shape customization. An example of this customization will be available soon, with the capability of process modeling based on the BPMN profile and Activity diagram customization.

NewActivityDgm

 

 Stereotype Support

Stereotype display now supports customization using stylesheets. Stereotype applications can now also be shown by default when displaying elements. For example, stereotyped elements dropped from the model explorer can now immediately display their stereotype, without additional user action. In addition, the user interface to select stereotype display is now simplified.

StereotypeDisplay

 

 Model explorer creation menu

You can now create relationships like associations and dependencies using the model explorer’s contextual menu (right-click on element). The first element selected will be the source of your link and a selection dialog will enable you to pick the target of your link.

ModelExplorerCreateRelationship

 

 Papyrus EMF Compare integration

The support for collaborative modeling in Papyrus, relying on the EMF Compare component, is improved. You can see more on the Collaborative Modeling page

Papyrus Search

You can now search for a given set of stereotypes or values of properties of stereotype from Papyrus search UI

Improved Search

 

 Papyrus Wizard

Model and project creation wizards now give you more opportunities. You can, for example, select a name for the project, the model file and the root element of your model. You can also apply at the same time a profile and use a predefined template for your new model.

WizardImproved

 

 Advanced multiplicity editor

The property view for multiplicity elements provides now an advanced widget. This optional widget lets you enter a complex multiplicity like [0..MAX]. You can switch between the simple and the advanced one directly from the property view or from the preferences.

AdvancedMultiplicity