NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

display

 i have one pick manipulation  renderer 'pmr' , two data references
ref2,ref3, and one constant Map 'Alpha_CMap' in one display;

i want to add the constant Map and pmr to the whole display, 
so i do: 
 display2.addReferences(pmr,ref2); 
 display2.addReferences(pmr,ref3); 
 display2.addReference(ref3,Alpha_CMap); 
 display2.addReference(ref2,Alpha_CMap); 

i get the exception below: 

visad.TypeException: DisplayImpl.addReference: link already exists 
at visad.DisplayImpl.addReference(DisplayImpl.java:827) 

is there a way to add the pmr , Alpha_CMap to the display and the two data
references ? 
i am not sure if i will need direct manipulation instead; 

thanks, 

Isaac 

  


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: