[kepler-dev] Actor Parameter question

Eric Magaha ericmagaha at gmail.com
Mon Oct 15 12:17:15 PDT 2007


I would like to create a Parameter on one of my custom actor that is similar
to ColorAttribute (ptolemy.actor.gui.ColorAttribute).  But I want to be able
to pick string items from a list in the dialog box that will be shown.

I looked at ColorAttribute class and I have no idea how Query class (
ptolemy.gui.Query) gets called.  ColorAttribute class is pretty simple.

To sum up, I want a parameter that holds an ArrayType that can open a dialog
box where I can select string from a swing list object.

Is that possible?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-dev/attachments/20071015/ba30df58/attachment.htm

More information about the Kepler-dev mailing list