Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

AW: performance issue with multiple data

Thanks Steve for your suggestion but I don't think that will help. Even
than I would have to redraw all DataReferences in order to refresh the
Display. I would need a way to redraw only one DataReference instead of
all. I experimented with Display.disableAction(). So I can prevent the
display to render the data every time a change is done. But now I need a
method to explicitly render one DataReference or to prevent the other
DataReferences from rendering. I think something like
DataRenderer.disableAction() with different DataRenderers for the
different DataReferences would do the job. Unfortunately I could not
find such a method :( Perhaps overwriting the DataRenderer.doAction()
method would be a good idea?

Any other idea would be appreciated.

Cheers, Mathias


> Perhaps if you divided the problem into immutable GeoLocation data
> (always drawn in blue) and mutable selected data (always drawn in red
> and whose data reference is added after that of the immutable data)?


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690