[kepler-dev] Dynamically adding properties (attributes) to the relation ......

jagan Jagan.Kommineni at infotech.monash.edu.au
Sun Dec 26 21:00:26 PST 2004


Hello Edward,

Thank you very much for your spontaneous advise. With this approach I 
was able to create relation with the predefined properties. I would like 
to know which function I need to modify in order to delete the property 
whenever I remove relation from the graphical view (design stage). 

Could you also tell me which are the functions called when I right click 
on the actor during the design stage for the configuration of that actor?

with regards,

Jagan Kommineni

Edward A. Lee wrote:

>
> 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.
>
> Edward
>
> 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
>> Content-Transfer-Encoding: 7bit
>>
>> 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.
>>
>> with regards,
>>
>> Jagan Kommineni
>>
>>
>> _______________________________________________
>> kepler-dev mailing list
>> kepler-dev at ecoinformatics.org
>> http://www.ecoinformatics.org/mailman/listinfo/kepler-dev
>
>
> ------------
> 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 mailing list