Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Re: Changing Figures at runtime
Re: Changing Figures at runtime [message #622684] Mon, 01 September 2008 08:14
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hello Alois,

Have you heard about UML2 Tools ( -
open-source editor for UML models generated by GMF?

We (UML2Tools developers) faced the same problem implementing association.
To solve the problem we added custom decoration (AssociationDecoration class)
to source and target of an association link. The decoration is painted in
accordance with properties of the association ends. In order to handle changes
of Association#isNavigable() property additional model listener was added
to AssociationEditPart.

UML2Tools is free and open-source, so you can easily use its hints in your
own diagram editor. Besides, the good news is that we are implementing functionality
to make UML2 Tools artifacts easier to reuse. the feature should be ready

Best wishes,
PS I copied the question to UML2 Tools newsgroup.

> Hi folks,
> I've got a little problem when trying to change my connection
> decorations
> at runtime.. I want to imitate an UML2 associtation between 2
> entities.
> which can have:
> - one arrow at the target (when "targetNavigable" is "true")
> - onw arrow at the source (when "sourceNavigable" is "true")
> - or both (when both is "true")
> is anyone out there who can give me at least a little hint? ;-)
> furthermore.. maybe there are more examples about creating an "UML"
> look-a-like editor?
> thanks,
> Alois Leitner
Previous Topic:Re: Changing Figures at runtime
Next Topic:Class diagram usage
Goto Forum:

Current Time: Mon Feb 19 12:33:48 GMT 2018

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

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