[kepler-users] component gui

Edward A. Lee eal at eecs.berkeley.edu
Tue Jun 5 17:59:01 PDT 2012


They aren't as limited as you think...
If a parameter contains an attribute that subclasses
ParameterEditorStyle, then that attribute controls
how the interaction with the parameter is done.
See the
$PTII/ptolemy/actor/gui/style directory.

In addition, you can completely customize the
dialog that Configure Actor opens.
See EditorFactory and its subclasses for examples.

For an example, the PythonScript actor in the library
opens a text editor when you select Configure Actor.

Edward




On 6/4/12 5:54 PM, Patrick Janssen wrote:
> The GUI creation tools under the 'Configure Actor' (for creating custom
> interfaces for setting actor parameters) are limited (for example, no
> sliders, no drop down lists, no tabs, no free text, no layout
> constraints, etc). In particular, I find this an issue when defining
> complex Python actors with lost of different parameters. As a result,
> the interface can end up being a bit unfriendly for the end users of my
> actors.
>
> I am wondering -  what is the best way of overcoming this? Has anyone
> had any experience creating custom GUIs for actors using either Java or
> Python, for example using Swing or other toolkits?
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eal.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120605/7797a358/attachment.vcf>


More information about the Kepler-users mailing list