[kepler-users] component gui
Patrick Janssen
patrick at janssen.name
Wed Jun 6 17:05:48 PDT 2012
Thanks Edward... that sounds promising. I will look into it.
On 6 June 2012 08:59, Edward A. Lee <eal at eecs.berkeley.edu> wrote:
>
> 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 <Kepler-users at kepler-project.org>
>> http://lists.nceas.ucsb.edu/**kepler/mailman/listinfo/**kepler-users<http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120607/bf0fb5ad/attachment.html>
More information about the Kepler-users
mailing list