[kepler-users] About actor parameters
Christopher Brooks
cxh at eecs.berkeley.edu
Mon May 3 13:08:21 PDT 2010
Hi Arwa,
NamedObj.attributeList() and attributeList(Class) will do it, see:
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/ptII/doc/codeDoc/ptolemy/kernel/util/NamedObj.html#attributeList()
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/ptII/doc/codeDoc/ptolemy/kernel/util/NamedObj.html#attributeList(java.lang.Class)
I'm not sure about #2, but how Vergil does it outside of Kepler is with
ptolemy.vergil.basic.BasicGraphController and
ptolemy.vergil.actor.ActorController.
See also ptolemy.actor.gui.EditParametersDialog.
_Christopher
On 5/3/10 11:40 AM, Jamnagarwala, Arwa Mohmadi wrote:
> Hi,
>
> I have two questions:
>
> 1) Is there any function in the Ptolemy api using which I can retrieve the set of parameters associated with an actor? (just as we can get the list of ports)
>
> 2) In uiContextMenuMappings_en_US.xml file some entries have keys mapped to Ptolemy menu locations, for instance:
>
> <pair>
> <name>ACTOR->Configure Actor</name>
> <value>ACTOR->Customize->Configure</value>
> </pair>
>
>
> Where can I find the source code associated with the "configure actor" choice?
>
> Thanks,
> 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
More information about the Kepler-users
mailing list