RE: mouse clicking multiple cells


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?


Michelle Kam           (408) 742-2881
Lockheed Martin Space Systems Co. SSM/ATC/MSIS
B/153 O/L922 
1111 Lockheed Martin Way, Sunnyvale, CA 94089

-----Original Message-----
From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx]
Sent: Wednesday, July 02, 2003 3:53 AM
To: Kam, Michelle C
Subject: RE: mouse clicking multiple cells

Hi Michelle,

> 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
> 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,