Ptolemy applets problems

2004-05-20 Thread Efrat Jaeger



Hi,

I created the following applet,  http://users.sdsc.edu/~efrat/workflows/queryPGAP.htm,verysimilar 
to the demo applets. Apparently it loads on some computers but on others I get a 
"java.lang.NoClassDefFoundError: ptolemy/actor/gui/MoMLApplet" error. On the 
same computers the existing demo applets load perfectly. I wasn't able to figure 
out what causes the exception. Does anyone have any suggestions?

Thanks,

Efrat


Adding a new type to BaseType

2003-11-04 Thread Efrat Jaeger



Hi,

I'm adding a new type to BaseType.java;a 
database connection type which would be passed between actors in a workflow to 
keep the DB Connection variable.

I've changed the following files: 
TypeLattice - added nodeweight and edges (to 
general and unknown).
Constants - added the new type to the hash 
table.
BaseType - added the type in a similar manner as 
the other types.

I also created a DBConToken class which contains 
all the methods as ObjectToken (changed for this purpose).

I get an exception: ArrayIndexOutOfBound in the 
compare method of TypeLattice (exception 14). I saw that this exception occurs 
for MatrixTokens (which isn't the case here). Please let me know if there is anything else I should change in order to 
prevent this exception (I assume that this type should be added in a similar way 
to ObjectType, since it's a private case of it). I tried to solve it by changing 
the ConversionsUtility file as well, but it wasn't very helpful.

Thank you,

Efrat




Plotting SVGs

2003-09-30 Thread Efrat Jaeger



Hi all,

Is there a way to use PlotML files from 
withina Ptolemy model or perhaps it is possible to invoke PtPlot from the 
Vergil interface?

I would like to plot SVG files similar to the way 
icons are created (but with a plot frame).I was able to find the code 
where the icons are being configured,can you please refer me to 
thecode wherethe icons are actuallybeing "loaded" (dealing 
with the SVG code).

Thanks,

Efrat