Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Problem adding comment
Problem adding comment [message #628627] Thu, 16 September 2010 12:41 Go to next message
123star  is currently offline 123star
Messages: 70
Registered: June 2010
Member
Hi,

I'm adding a comment to a Port and then edit it to set some values:

Comment comment = portCopy.createOwnedComment(); comment.applyStereotype(stereoRtSpec);
portCopy.setValue(stereoRtFeature, "specification", comment);

But I can't see the comment in the model viewer, I'm I attaching it in the wrong place?

Thanks in advance, 123star
Re: Problem adding comment [message #628993 is a reply to message #628627] Sat, 25 September 2010 12:43 Go to previous message
Rafael Chaves is currently offline Rafael Chaves
Messages: 161
Registered: July 2009
Senior Member
This is a duplicated message due to some glitch in the forum software. Please reply to the original message instead:

http://www.eclipse.org/forums/index.php?t=rview&goto=559 452&th=175578#msg_559452
Previous Topic:Creating connector
Next Topic:How to assign a value to a slot in an objectDiagram?
Goto Forum:
  


Current Time: Fri Aug 01 10:03:12 EDT 2014

Powered by FUDForum. Page generated in 0.01867 seconds