Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » AutoUpdate Text associated to a ConnectionDecorator (AutoUpdate Text associated to a ConnectionDecorator)
AutoUpdate Text associated to a ConnectionDecorator [message #985951] Fri, 16 November 2012 15:40 Go to previous message
Juan Quirós is currently offline Juan Quirós
Messages: 4
Registered: November 2012
Junior Member
Hello, first of all, congratulations for all the work which you have done!

I am using Graphiti and I am not able to resolve a problem.

Need: I have two elements connected by a connection. I need to show a text associated to the business object linked to the connection, and being able to edit the text.

My approach: I am using patterns. So I have created a class which extends AbstractConnectionPattern as the tutorial says. But I need edit the text, and this class does not support methods for Direct Editing Feature, so I have to create new classes which implement AbstractUpdateFeature and AbstractDirectEditingFeature, and combine patterns with "classical features".

The problem: Everything works fine except AutoUpdate. When I modify the value associated to the text in the domain-model, graphiti does not update it automatically en the diagram, I have to update manually.

Any idea?

Thanks in advance!
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:invoke Create Feature
Next Topic:new Diagram
Goto Forum:
  


Current Time: Mon May 20 16:50:53 EDT 2013

Powered by FUDForum. Page generated in 0.01651 seconds