[kepler-users] Adding new parameters

AMARNATH, Balachandar BALACHANDAR.AMARNATH at airbus.com
Sun May 23 20:40:20 PDT 2010


How do I get list of parameters present in the actor in such a situation
when two parameters are declared in the code and two are added
dynamically when the actor is loaded in workflow canvas ? 

With thanks and regards
Bala 

-----Original Message-----
From: kepler-users-bounces at kepler-project.org
[mailto:kepler-users-bounces at kepler-project.org] On Behalf Of
Christopher Brooks
Sent: 23 May 2010 20:58
To: Jamnagarwala, Arwa Mohmadi
Cc: kepler-users at kepler-project.org
Subject: Re: [kepler-users] Adding new parameters

Hi Arwa,
See
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII8.0/ptII/doc/codeDoc/ptol
emy/kernel/util/NamedObj.html#getAttribute%28java.lang.String,%20java.la
ng.Class%29

The java would be:
getAttribute("NewParameter", Parameter.class);

See also the Ptolemy design document,
http://ptolemy.eecs.berkeley.edu/ptolemyII/designdoc.htm
Especially chapter 5 "Designing Actors" of Volume 2.

_Christopher

On 5/22/10 1:32 PM, Jamnagarwala, Arwa Mohmadi wrote:
> Hi All,
>
>
> When we configure an actor we have an option to "Add" a new parameter.
I was wondering how do we refer to that parameter (which may be added
later) in the actor's "fire" operation?
>
>
> Thank you!
> Arwa
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
_______________________________________________
Kepler-users mailing list
Kepler-users at kepler-project.org
http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

This mail has originated outside your organization, either from an
external partner or the Global Internet.
Keep this in mind if you answer this message.




The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.




More information about the Kepler-users mailing list