Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » Displaying association ends
Displaying association ends [message #1710248] Mon, 05 October 2015 13:58 Go to next message
Marc FLAUW is currently offline Marc FLAUWFriend
Messages: 151
Registered: July 2009
Senior Member
Hi,

I would like to display association ends.

I would have a question related to this.

The navigable end of the association is marked as owner=classifier.

When looping through the properties of the classifier class, it is displayed as an attribute which is good, but I would like to display this association end also in the association itself.
How can I do that?

Thanks and regards,

Marc
Re: Displaying association ends [message #1710263 is a reply to message #1710248] Mon, 05 October 2015 15:18 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
What do you mean by "to display this association end also in the association itself" ?

from an association to get the ends : memberEnds property

to get Associations from a class : aClass.getAssociations()




Re: Displaying association ends [message #1710278 is a reply to message #1710263] Mon, 05 October 2015 16:33 Go to previous messageGo to next message
Marc FLAUW is currently offline Marc FLAUWFriend
Messages: 151
Registered: July 2009
Senior Member
Hi,

I meant the fist statement: from an association, get the ends.
I tried as.memberEnds, but this generates an error.

Best regards,

Marc
Re: Displaying association ends [message #1710333 is a reply to message #1710278] Tue, 06 October 2015 07:20 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Sorry I meant memberEnd property (without the "s")



Re: Displaying association ends [message #1710411 is a reply to message #1710333] Tue, 06 October 2015 13:24 Go to previous message
Marc FLAUW is currently offline Marc FLAUWFriend
Messages: 151
Registered: July 2009
Senior Member
Thanks, Tristan, it works fine.
Previous Topic:Checking for empty list of stereotypes
Next Topic:Maven/Tycho plugin
Goto Forum:
  


Current Time: Thu Apr 25 13:13:17 GMT 2024

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

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

Back to the top