Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi, Is there a way to save the current mappings in a spreadsheet cell and open up the saved copy later? I've tried using "Setup", "save spreadsheet file" and saving it as a .ss file. But when I try to load it, it says "the source could not be converted to a Visad spreadsheet file." I also tried clicking on the floppy disk icon and saving the highlighted cell as a .gif and .bmp but when I open that, there are completely different mappings set up in the mapping dialog. Plus, I don't want to just save a picture of the data in the cell. I'm trying to save the actual mappings. Does Visad have this capability? Thanks, -----Original Message----- From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx] Sent: Wednesday, July 02, 2003 3:53 AM To: User 'xxxxxx@xxxxxxxxxxxxxxxxxxx' Subject: RE: mouse clicking multiple cells Hi, > Do you know if there is a way to determine whether a Data object of type > Scalar is a "Real" object or a "Text" object? It looks like > DataImpl.getType() (and Data.getType()) returns a MathType but MathType.java > does not have record whether it is a ScalarType and then if it is, whether > it is a RealType or TextType. You can do 'if (object instanceof Real) ...' or 'if (object instanceof Text) ...'. Or with the MathTypes use 'if (object instanceof RealType) ...' or 'if (object instanceof TextType) ...'. This is really an elementary programming question. You should try harder to answer such questions for yourself. Good luck, Bill
visad
archives: