Skip to main content



      Home
Home » Modeling » Graphiti » Editor shapes are red after changing model in another editor
Editor shapes are red after changing model in another editor [message #1697840] Mon, 08 June 2015 15:42 Go to next message
Eclipse UserFriend
User error. My AbstractUpdateFeature is not calculating updateNeeded() method correctly.

[Updated on: Mon, 08 June 2015 16:37] by Moderator

Re: Editor shapes are red after changing model in another editor [message #1697867 is a reply to message #1697840] Tue, 09 June 2015 04:13 Go to previous messageGo to next message
Eclipse UserFriend
Alex,

that sounds like an issue in your update feature(s). The red border is drawn
when the update feature reports true on updateNeeded, refresh is enabled
when canUpdate reports true. It might also be that you need to delegate to
one of your update features from the DefaultUpdateDiagramFeature that is
triggered for reload of the diagram.

Micheal
Re: Editor shapes are red after changing model in another editor [message #1698262 is a reply to message #1697867] Fri, 12 June 2015 11:45 Go to previous message
Eclipse UserFriend
Quote:

It might also be that you need to delegate to
one of your update features from the DefaultUpdateDiagramFeature that is
triggered for reload of the diagram.


Thanks Michael, this is helpful.
Previous Topic:Problem with AdaptedGradientColoredAreas
Next Topic:generate stand alone java application
Goto Forum:
  


Current Time: Mon Mar 10 19:49:55 EDT 2025

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

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

Back to the top