From: [EMAIL PROTECTED] (Andrew Zimdars)

> The documentation describes how to add an actor defined in a Java
> class to an entity library, which Vergil can then display in the
> "libraries explorer".  I'd like to do the same thing for a composite
> actor specified in the XML file "/foo/bar/HelloWorld.xml". 
> Unfortunately, I couldn't find any XML files in the source
> distribution that included a composite actor in an entity library. 
> What is the right syntax for this?

ptolemy/actor/lib/TimedSinewave.xml defines a composite actor

ptolemy/actor/lib/timedsources.xml includes this actor with:

<entity name="TimedSinewave" class="ptolemy.actor.lib.TimedSine"/>

Which is just like the standard syntax for actors that are defined
in .java files

-Christopher

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to