Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Shape type stereotype icon in Papyrus 1.0.0
Shape type stereotype icon in Papyrus 1.0.0 [message #1424281] Mon, 15 September 2014 19:13 Go to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
I am testing the new icon functionality in Papyrus 1.0.0. I have a shape type icon for a stereotype defined like this:

index.php/fa/19129/0/

This stereotype is then applied to an element in another model, where the appearance settings look like:

index.php/fa/19130/0/

But there is no effect on the element, it still shows as a plain UML class.

Am I missing something? Thank you.

[Updated on: Mon, 15 September 2014 19:14]

Report message to a moderator

Re: Shape type stereotype icon in Papyrus 1.0.0 [message #1442691 is a reply to message #1424281] Sat, 11 October 2014 14:07 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Hello again,

Please just let me know if this feature was indeed implemented in Papyrus 1.0.0 or not. Thank you,

Luís
Re: Shape type stereotype icon in Papyrus 1.0.0 [message #1443819 is a reply to message #1442691] Mon, 13 October 2014 08:40 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 926
Registered: February 2011
Senior Member
Hi Luis,

The "shape" framework has been replaced with the new "symbols" framework in Luna. They are not fully compatible, but Shapes defined in profiles can still be used by the Symbols framework (Although profiled diagrams need to be updated). Please see the embedded Papyrus User Guide > Symbols documentation for details (As well as the CSS documentation for additional properties)

Regards,
Camille


Camille Letavernier
Re: Shape type stereotype icon in Papyrus 1.0.0 [message #1452459 is a reply to message #1443819] Sat, 25 October 2014 10:12 Go to previous message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Hello everyone,

Finally, it is possible to define shapes/symbols for stereotypes, but not without issue. Half of the times I apply a stereotype with an icon defined Eclipse crashes; there is only this message to read in the command line:

[000:156] Computer model: Not available
Warning: NLS unused message: CustomIODPaletteFactory_createCallBehaviorActionAsInteractionCreationTool in: messages
java: /build/buildd/cairo-1.13.0~20140204/src/cairo-surface.c:953: cairo_surface_destroy: Assertion `((*&(&surface->ref_count)->ref_count) > 0)' failed.


When this happens the models in the project show up all screwed up and must be deleted. In certain occasions the whole project goes awry and must be deleted altogether. I have upgraded Papyrus to version 1.0.1 but these crashes remain.

Getting there but quite not there yet. I don't think this feature is mature enough to expose to users.

Regards.
Previous Topic:[papyrus] Looking for training
Next Topic:Custom validation for Papyrus
Goto Forum:
  


Current Time: Fri Jul 10 20:19:27 GMT 2020

Powered by FUDForum. Page generated in 0.02164 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top