AbstractEditPart [message #33250] |
Thu, 17 October 2002 12:41  |
Eclipse User |
|
|
|
Originally posted by: jan.odvarko.schemantix.com
Hi all,
I am working with GEF and I am not sure
about an implementation of the refresh method
in AbstractEditPart class see following snippet.
public void refresh(){
debug("refresh");//$NON-NLS-1$
refreshVisuals();
refreshChildren();
}
I would perform the refreshing in opposite way.
I mean that visuals should be refreshed after
the children. I have to arguments...
#1 The refreshChildren method can create
new visuals, which aren't refershed
afterwards.
#2 The refreshVisuals method could require
all visual objects to exist, which means
created by the refreshChildren before.
Of course, it isn't a problem to override
the method, but I would like to be sure
I understand the framework.
Am I wronng, or not?
cheers
Honza
|
|
|
|
Powered by
FUDForum. Page generated in 0.05967 seconds