Re: [kepler-dev] getting links from a compositeEntity

2006-02-17 Thread Chad Berkley
filter... Edward At 11:16 AM 2/16/2006, Chad Berkley wrote: I've got the relation objects, but what I'm trying to get at is the moml elements. When I call exportMoML() on a ComponentRelation, I get something like this: I want that but also the elements that tell what the relation is

Re: [kepler-dev] getting links from a compositeEntity

2006-02-16 Thread Chad Berkley
are linked to. Edward At 02:25 PM 2/15/2006, Chad Berkley wrote: Hi, I'm trying to find a programatic way to access the links that are contained in a composite. The only method I see that kind of does this is CompositeEntity.exportLinks() which just returns a string moml description of th

getting links from a compositeEntity

2006-02-15 Thread Chad Berkley
Hi, I'm trying to find a programatic way to access the links that are contained in a composite. The only method I see that kind of does this is CompositeEntity.exportLinks() which just returns a string moml description of the links, but no objects. Is there a way to get an object representa

difference between moml class and entity

2005-12-09 Thread Chad Berkley
Hi, I've run into a problem when trying to differentiate whether a composite should be serialized to moml as a or as an . In PTII, a Composite is defined as a within its own moml file. Take Sinewave (ptolemy/actor/lib/Sinewave.xml) for example: However, within the actor library Co

Re: [kepler-dev] handling layer events

2005-10-21 Thread Chad Berkley
Thanks, Edward. Worked like a charm. chad Edward A. Lee wrote: At 03:30 PM 10/18/2005 -0700, Chad Berkley wrote: Hi, I'm trying to enable the canvas to allow a user to drag an actor from the canvas back to the actor library. I've got the drag n' drop working, except that

handling layer events

2005-10-18 Thread Chad Berkley
Hi, I'm trying to enable the canvas to allow a user to drag an actor from the canvas back to the actor library. I've got the drag n' drop working, except that I can't seem to figure out how to get a reference to the NamedObj that implements the diva Figure on the canvas. I have a refere