refreshEditPartsForModelChildrenAndSourceConnections ? [message #940646] |
Thu, 11 October 2012 17:11  |
Eclipse User |
|
|
|
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 06:33  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03703 seconds