Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » refreshEditPartsForModelChildrenAndSourceConnections ?
refreshEditPartsForModelChildrenAndSourceConnections ? [message #940646] Thu, 11 October 2012 21:11 Go to next message
Hernan Gonzalez is currently offline Hernan Gonzalez
Messages: 181
Registered: October 2010
Location: Buenos Aires, Argentina
Senior Member
I was hacking inside IPictogramElementDelegate (I wanted to be change the color of some connections, but only temporarily, not transactionally, outside the pictograms hierarchy, like decorators; but currently Graphiti does not support decorators on connections), and I came upon the method (declared in the interface) :

refreshEditPartsForModelChildrenAndSourceConnections() 


Does anyone know the reason for refreshing the edit parts of the source connections only?

Re: refreshEditPartsForModelChildrenAndSourceConnections ? [message #941254 is a reply to message #940646] Fri, 12 October 2012 10:33 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1603
Registered: July 2009
Location: Walldorf, Germany
Senior Member
As far as I remember, this method serves for mass refreshing of edit parts
and connections starting from the edit part(s). In case of both source and
target edit part of a connection being refreshed, we can omit duplicate
refreshs of the connection by this.

Michael


"Hernan Gonzalez" schrieb im Newsbeitrag
news:k57cls$pfs$1@xxxxxxxxe.org...

I was hacking inside IPictogramElementDelegate (I wanted to be change the
color of some connections, but only temporarily, not transactionally,
outside the pictograms hierarchy, like decorators; but currently Graphiti
does not support decorators on connections), and I came upon the method
(declared in the interface) :

refreshEditPartsForModelChildrenAndSourceConnections()

Does anyone know the reason for refreshing the edit parts of the source
connections only?
Previous Topic:Nesting diagrams
Next Topic:FixPointAnchor and GraphicsAlgorithm
Goto Forum:
  


Current Time: Thu Oct 02 10:36:00 GMT 2014

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

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