Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:42 Go to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
User error. My AbstractUpdateFeature is not calculating updateNeeded() method correctly.

[Updated on: Mon, 08 June 2015 20:37]

Report message to a moderator

Re: Editor shapes are red after changing model in another editor [message #1697867 is a reply to message #1697840] Tue, 09 June 2015 08:13 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 15:45 Go to previous message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
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: Tue Mar 19 08:36:50 GMT 2024

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

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

Back to the top