[kepler-dev] Dynamicalling adding properties (attributes) to the relation ......
Edward A. Lee
eal at eecs.berkeley.edu
Wed Dec 22 05:40:13 PST 2004
The easiest way to do this, I think, would be to subclass
TypedCompositeActor and override the newRelation() method to
return a relation that contains the parameter you are interested in.
You would then want to create a new configuration that uses
your subclass rather than TypedCompositeActor.
At 12:12 PM 12/22/2004 +1100, jagan wrote:
>References: <200412211640.iBLGeCRR028721 at maury.eecs.berkeley.edu>
><1103669339.6784.174.camel at kyoto>
>In-Reply-To: <1103669339.6784.174.camel at kyoto>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>Hi Ilkay, Christpher,
> Would you mind to give me some information for adding
>properties (attributes) to the relation at the time when actrs
>connecting graphically. I know it is possible to add properties
>dynamically by right clicking during the design phase. In the GriddLeS
>project I need to pass some information which is more integrated to
>the relation rather than actor. I want this happen automatically when
>user tries to connect actors. I will appreciate if you could give some
>clues in this aspect.
>kepler-dev mailing list
>kepler-dev at ecoinformatics.org
Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2718
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal
More information about the Kepler-dev