Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Applying user defined stereotypes to the model elements in block definition diagram,SysML(Applying user defined stereotypes to the model elements in block definition diagram,SysML)
Applying user defined stereotypes to the model elements in block definition diagram,SysML [message #1695623] Mon, 18 May 2015 08:17 Go to next message
VISHNU PRASHANTH MURUGAN is currently offline VISHNU PRASHANTH MURUGANFriend
Messages: 2
Registered: May 2015
Junior Member
Hi All,

Is it possible to apply a user defined stereotype to a model element in a block definition diagram ??

I created a profile with few user defined stereotypes and applied it to the model that i want to(in this case a sysML block definition diagram). It was successfully applied to the model. When i tried to apply it to the block element in the model,I am unable to see the stereotype that i created in the Applicable stereotypes dialog box!

Am I missing something here ? can someone help me?



Regards,
Vishnu.
Re: Applying user defined stereotypes to the model elements in block definition diagram,SysML [message #1695678 is a reply to message #1695623] Mon, 18 May 2015 12:53 Go to previous messageGo to next message
Raphael Faudou is currently offline Raphael FaudouFriend
Messages: 105
Registered: July 2009
Senior Member
Hello Vishnu,

could you please detail how you defined your stereotypes? on which metaclass did you apply them (extension relationship)?
It will help understanding the problem.

Best regards
Raphaël
Re: Applying user defined stereotypes to the model elements in block definition diagram,SysML [message #1695686 is a reply to message #1695678] Mon, 18 May 2015 13:20 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,

The SysML diagrams may not be able to display properly all stereotypes. Since the display of SysML stereotypes is hard-coded, they can't be removed, and custom stereotypes are displayed separately. However, there shouldn't be any issue for applying custom stereotypes semantically (Independently of display issues)

Stereotypes may differ a little bit, depending on whether they are extensions of SysML Stereotypes, or just complementary stereotypes, especially in diagrams in which they are hard-coded (= SysML Diagrams). The Papyrus implementation of SysML 1.4 should solve some of these issues, but unfortunately it's not ready for prime time yet.

Regards,
Camille


Camille Letavernier
Re: Applying user defined stereotypes to the model elements in block definition diagram,SysML [message #1696043 is a reply to message #1695678] Thu, 21 May 2015 10:49 Go to previous messageGo to next message
VISHNU PRASHANTH MURUGAN is currently offline VISHNU PRASHANTH MURUGANFriend
Messages: 2
Registered: May 2015
Junior Member
Hi,
Thanks for replying!

I wanted to apply a stereotype to an association in the sysML block definition diagram.

WHAT I DID:




I created a new profile with the stereotype .I extended the metaclass "Association" to the stereotype since i wanted the type to be applied to an element which is association in this case.

I added the created profile to my model

then,for the respective association element,I added the stereotype by going to Properties=>stereotypes=> add.

But the thing is the name of the stereotype is not visible in the diagram.
Under the section "stereotype" in the manage labels section,I see "no text to display".Not sure why the name of the applied stereotype is not reflecting here.

Am I missing any metaclass extension???


Regards,
Vishnu

Re: Applying user defined stereotypes to the model elements in block definition diagram,SysML [message #1696045 is a reply to message #1696043] Thu, 21 May 2015 11:00 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,

These steps seem to work fine in Papyrus 1.1/Mars, but the diagrams and stereotypes management have changed a lot compared to Luna. I guess you should wait for the next release of Papyrus on June 24th to get it working.

Regards,
Camille


Camille Letavernier
Re: Applying user defined stereotypes to the model elements in block definition diagram,SysML [message #1759062 is a reply to message #1696045] Wed, 05 April 2017 16:40 Go to previous message
Bernd Busam is currently offline Bernd BusamFriend
Messages: 10
Registered: February 2017
Location: Hamburg, Germany
Junior Member
I'm facing a similar problem. Stereotypes created by extionsion relationship from a metaclass are not visible when using the profile. Any progess on this topic here?
Previous Topic:How to customize the palette?
Next Topic:members of the same base reference metamodel
Goto Forum:
  


Current Time: Fri Oct 11 14:59:01 GMT 2024

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

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

Back to the top