Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Performance when opening a diagram

Hi, Benoit,

My understanding is that the implementation of applied-stereotype presentation in the diagrams was changed in the Mars release from EAnnotations that tagged views with display options to these hidden notation views in part because this allows CSS styling to interact with the visualization.  Because CSS rules need to be able to drive the visibility and styling of all of the different kinds of views that present stereotype applications, and because CSS can only operate on objects that exist, the diagrams create all of these views on-the-fly but hidden by default.

More background can be traced through this wiki page (I think):


HTH,

Christian

On 2 September, 2016 at 09:07:36, MAGGI Benoit (benoit.maggi@xxxxxx) wrote:

Hi everyone,

 

I was looking for performance when opening a model.

My current use case: opening a SysML 1.4 IBD (20 element, contains element with stereotypes)

 

When opening the model the following class seems to consume a lot of time [1].

This method [2] seems to recreate a (stereotype) comment when refreshing.

 

I don’t display any StereotypeComment in my diagram and these comments aren’t serialized after closing the model.

Has someone an idea of why it’s creating a comment?

(I would expect to have the comment only created when the user want to use/display it)

 

Regards,

Benoit

1 : org.eclipse.papyrus.uml.diagram.stereotype.edition.editpolicies.AppliedStereotypeCommentEditPolicy

2 : refreshStereotypeCommentStructure

 

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

Back to the top